diff --git a/packages/marketplace_server/src/classes/ComtyClient/index.js b/packages/marketplace_server/src/classes/ComtyClient/index.js new file mode 100644 index 00000000..0a8fbfdf --- /dev/null +++ b/packages/marketplace_server/src/classes/ComtyClient/index.js @@ -0,0 +1,9 @@ +import createClient from "comty.js" + +export default (params = {}) => { + return createClient({ + ...params, + accessKey: process.env.COMTY_ACCESS_KEY, + privateKey: process.env.COMTY_PRIVATE_KEY, + }) +} \ No newline at end of file