mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
add server to monorepo.
This commit is contained in:
9
packages/server/src/loaders/smsClient.ts
Normal file
9
packages/server/src/loaders/smsClient.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import SMSClient from '@/services/SMSClient';
|
||||
import EasySMSGateway from '@/services/SMSClient/EasySmsClient';
|
||||
|
||||
export default (token: string) => {
|
||||
const easySmsGateway = new EasySMSGateway(token);
|
||||
const smsClient = new SMSClient(easySmsGateway);
|
||||
|
||||
return smsClient;
|
||||
};
|
||||
Reference in New Issue
Block a user