mirror of
https://github.com/node-ebics/node-ebics-client.git
synced 2024-11-24 07:02:08 +00:00
12 lines
245 B
JavaScript
12 lines
245 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const H004Response = require('../orders/H004/response');
|
||
|
|
||
|
module.exports = {
|
||
|
version(v) {
|
||
|
if (v.toUpperCase() === 'H004') return H004Response;
|
||
|
|
||
|
throw Error('Error from middleware/response.js: Invalid version number');
|
||
|
},
|
||
|
};
|