fix(sms): update sms service to use async ProjectInfo initialization

This commit is contained in:
2026-03-26 08:43:36 +00:00
parent 20eda1ab3e
commit 7209903d02
6 changed files with 105 additions and 361 deletions

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@serve.zone/dcrouter',
version: '11.10.6',
version: '11.10.7',
description: 'A multifaceted routing service handling mail and SMS delivery functions.'
}

View File

@@ -30,7 +30,7 @@ export class SmsService {
*/
public async start() {
logger.log('info', `starting sms service`);
this.projectinfo = new plugins.projectinfo.ProjectInfo(paths.packageDir);
this.projectinfo = await plugins.projectinfo.ProjectInfo.create(paths.packageDir);
this.typedrouter.addTypedHandler(
new plugins.typedrequest.TypedHandler<plugins.servezoneInterfaces.platformservice.sms.IRequest_SendSms>(
'sendSms',