Skip to content

Commit

Permalink
Merge pull request #48 from overthestream/renewal
Browse files Browse the repository at this point in the history
renew
  • Loading branch information
overthestream authored Dec 7, 2024
2 parents 8aae999 + 5adb11e commit 86c94d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/domain/blurting/blurting.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ export class BlurtingService {

async checkGroupOver(groupId: number): Promise<boolean> {
const question = await this.blurtingPreQuestionRepository.findOne(groupId, 10);
return question.isUploaded;
return question && question.isUploaded;
}

async postAnswer(
Expand Down

0 comments on commit 86c94d8

Please sign in to comment.