salix/modules/account/back/methods/account-synchronizer/test.js

16 lines
331 B
JavaScript
Raw Permalink Normal View History

module.exports = Self => {
Self.remoteMethod('test', {
description: 'Tests connector configuration',
http: {
path: `/test`,
verb: 'GET'
}
});
Self.test = async function() {
let connector = await Self.getSynchronizer();
await connector.test();
};
};