Commit 8f6f9ccf authored by nanahira's avatar nanahira

fix

parent a10d16dc
Pipeline #37436 passed with stages
in 11 minutes and 43 seconds
...@@ -100,7 +100,7 @@ export class MatchService extends CrudService(Match, { ...@@ -100,7 +100,7 @@ export class MatchService extends CrudService(Match, {
dto.player2Score === 0 && dto.player2Score === 0 &&
dto.winnerId === undefined dto.winnerId === undefined
) { ) {
dto.status = MatchStatus.Pending; dto.status = MatchStatus.Running;
} }
if ( if (
match.status === MatchStatus.Finished && match.status === MatchStatus.Finished &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment