delete description
This commit is contained in:
parent
1708561a57
commit
3ccefa7b00
|
@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.',
|
||||
|
|
Loading…
Reference in a new issue