Add business registration requests with approval flow, SMS notifications, and owner businesses endpoint.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,6 +27,6 @@ import { RolesGuard } from './guards/roles.guard';
|
||||
],
|
||||
controllers: [AuthController],
|
||||
providers: [AuthService, SmsService, JwtAuthGuard, RolesGuard],
|
||||
exports: [JwtAuthGuard, RolesGuard, JwtModule],
|
||||
exports: [JwtAuthGuard, RolesGuard, JwtModule, SmsService],
|
||||
})
|
||||
export class AuthModule {}
|
||||
|
||||
@@ -37,7 +37,7 @@ export class SmsService {
|
||||
}
|
||||
|
||||
async sendOtpSms(mobile: string, code: string): Promise<boolean> {
|
||||
const text = `کد ورود شما: ${code}`;
|
||||
const text = `کد ورود منتایم: ${code}`;
|
||||
return this.sendSms(mobile, text);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user