delete description

This commit is contained in:
NoriDev 2023-06-17 03:12:24 +09:00
parent 1708561a57
commit 3ccefa7b00
2 changed files with 1 additions and 5 deletions

View file

@ -13,8 +13,6 @@ export const meta = {
kind: 'write:user-groups',
description: 'Join a group the authenticated user has been invited to.',
errors: {
noSuchInvitation: {
message: 'No such invitation.',
@ -66,7 +64,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
userGroupId: invitation.userGroupId,
} as UserGroupJoining);
this.userGroupInvitationsRepository.delete(invitation.id);
return await this.userGroupInvitationsRepository.delete(invitation.id);
});
}
}

View file

@ -11,8 +11,6 @@ export const meta = {
kind: 'write:user-groups',
description: 'Delete an existing group invitation for the authenticated user without joining the group.',
errors: {
noSuchInvitation: {
message: 'No such invitation.',