fix(linter): resolve all linter rules and type errors across 3 subprojects

This commit is contained in:
parsa aghaei committed 2026-08-02 09:39:53 +03:30
1 parent 5f790a60a9
commit a1f0640483
17 files changed
+201 -104

No files matched your search

+8 -2
View File
@@ -83,7 +83,10 @@ export class SmsService {
* Send OTP Verification Code (Pattern 508079)
*/
async sendOtp(phone: string, otpCode: string): Promise<boolean> {
const bodyId = parseInt(process.env.MELIPAYAMAK_OTP_BODY_ID || '508079', 10);
const bodyId = parseInt(
process.env.MELIPAYAMAK_OTP_BODY_ID || '508079',
10,
);
return this.sendPatternSms({
to: phone,
bodyId,
@@ -99,7 +102,10 @@ export class SmsService {
orderNumber: string,
amount: string,
): Promise<boolean> {
const bodyId = parseInt(process.env.MELIPAYAMAK_ORDER_BODY_ID || '508081', 10);
const bodyId = parseInt(
process.env.MELIPAYAMAK_ORDER_BODY_ID || '508081',
10,
);
return this.sendPatternSms({
to: phone,
bodyId,