feat(badges): 更新勋章系统,支持UUID作为勋章ID类型

feat(challenges): 优化进度报告,添加睡眠挑战勋章授予逻辑
fix(push-notifications): 修复推送测试服务初始化返回值问题
This commit is contained in:
2025-11-15 23:25:02 +08:00
parent 9c7bcb6083
commit 1c033cd801
4 changed files with 46 additions and 33 deletions

View File

@@ -32,7 +32,7 @@ export class PushTestService implements OnModuleInit {
async onModuleInit() {
// 检查是否启用推送测试
const enablePushTest = this.configService.get<boolean>('ENABLE_PUSH_TEST', false);
return
if (!enablePushTest) {
this.logger.log('Push test is disabled. Skipping...');
return;