diff --git a/be/algo-with-me-api/src/competition/services/competition.service.ts b/be/algo-with-me-api/src/competition/services/competition.service.ts index 6295284..c1e2c96 100644 --- a/be/algo-with-me-api/src/competition/services/competition.service.ts +++ b/be/algo-with-me-api/src/competition/services/competition.service.ts @@ -344,7 +344,6 @@ export class CompetitionService { } result['problemId'] = submission.problemId; - result['stderr'] = scoreResultDto.stderr; this.server.to(scoreResultDto.socketId).emit('scoreResult', result); // 모두 제출했는지 확인 @@ -378,7 +377,10 @@ export class CompetitionService { this.server .to(scoreResultDto.socketId) - .emit('problemResult', { message: RESULT[totalResult], problemId: submission.problemId }); + .emit('problemResult', { + result: totalResult === 'CORRECT' ? true : false, + problemId: submission.problemId, + }); } }