Implementing SMS panel in Super Admin

This commit is contained in:
2026-08-05 14:13:44 +03:30
parent b66e47c3b3
commit 14d9c5d143
8 changed files with 338 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
import { createParamDecorator, ExecutionContext } from '@nestjs/common';
export const RemoteTenant = createParamDecorator(
(_data: unknown, ctx: ExecutionContext) => {
const req = ctx.switchToHttp().getRequest();
return req.remoteTenant;
},
);