Remove console logs on updateInvitation
This commit is contained in:
@@ -64,8 +64,6 @@ export class InvitationsRoute {
|
||||
}
|
||||
|
||||
async updateInvitation(request: FastifyRequest, reply: FastifyReply) {
|
||||
console.log('updateInvitation', request.body);
|
||||
|
||||
// Parse the invitation
|
||||
const invitation = parseInvitation.parse(request.body);
|
||||
|
||||
@@ -81,8 +79,6 @@ export class InvitationsRoute {
|
||||
// Broadcast the invitation update (We send down the whole invitation. Clients will have to compare commitIds)
|
||||
await this.sseBroadcaster.broadcast(invitation.invitationIdentifier, 'invitation-updated', invitation);
|
||||
|
||||
console.log('Invitation updated successfully');
|
||||
|
||||
return reply.status(200).send(invitation);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user