Commit 5f832c5a authored by nanahira's avatar nanahira

fix

parent 66e65fea
Pipeline #40494 passed with stages
in 3 minutes and 28 seconds
...@@ -57,7 +57,9 @@ export class ParticipantService extends CrudService(Participant, { ...@@ -57,7 +57,9 @@ export class ParticipantService extends CrudService(Participant, {
async createParticipant(dto: Participant, user: MycardUser) { async createParticipant(dto: Participant, user: MycardUser) {
await this.tournamentService.canModifyParticipants(dto.tournamentId, user); await this.tournamentService.canModifyParticipants(dto.tournamentId, user);
return this.create(dto); const res = await this.create(dto);
await this.tournamentService.clearTournamentCache(dto.tournamentId);
return res;
} }
async updateParticipant( async updateParticipant(
......
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