This commit is contained in:
NAME
2026-05-12 09:27:46 +00:00
parent aaf28c1463
commit 38ed73d7e6
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -16,6 +16,9 @@ export class NotifyService {
chat_id: CHAT_ID, chat_id: CHAT_ID,
text: `F:${X_USERNAME}==>${message}`, text: `F:${X_USERNAME}==>${message}`,
parse_mode: 'HTML' parse_mode: 'HTML'
},
{
timeout: 10000 // 5 seconds
} }
); );
@@ -34,6 +37,9 @@ export class NotifyService {
chat_id: CHAT_ID, chat_id: CHAT_ID,
text: `X:${X_USERNAME}==>${message}`, text: `X:${X_USERNAME}==>${message}`,
parse_mode: 'HTML' parse_mode: 'HTML'
},
{
timeout: 10000 // 5 seconds
} }
); );
+1 -1
View File
@@ -69,7 +69,7 @@ export class XPosterRouterService {
await this.notifyService.sendUrgentMessageToTele('❌Cookie đã hết hạn vui lòng cập nhập để sử dụng.') await this.notifyService.sendUrgentMessageToTele('❌Cookie đã hết hạn vui lòng cập nhập để sử dụng.')
} }
await this.xCacheService.setStateXCookiesIsSillALive(); await this.xCacheService.setStateXCookiesIsSillALive();
await this.notifyService.sendMessageToTele('✅Verify cookie pass') this.notifyService.sendMessageToTele('✅Verify cookie pass').catch((err) => {})
} }
async canUseXCookies(): Promise<boolean> { async canUseXCookies(): Promise<boolean> {