Skip to content

Commit

Permalink
fix protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3orblade committed Mar 4, 2024
1 parent 09d4c1b commit 060932b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ts/interface/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export enum NotificationType {
Export = 'export',
Gallery = 'galleryImport',
Join = 'requestToJoin',
Leave = 'leaveRequest',
Leave = 'requestToLeave',
Approve = 'participantRequestApproved',
Remove = 'participantRemove',
};
Expand Down
2 changes: 1 addition & 1 deletion src/ts/lib/api/mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export const Mapper = {
if (v == V.EXPORT) t = 'export';
if (v == V.GALLERYIMPORT) t = 'galleryImport';
if (v == V.REQUESTTOJOIN) t = 'requestToJoin';
if (v == V.REQUESTTOLEAVE) t = 'requestToLeave';
if (v == V.PARTICIPANTREQUESTAPPROVED) t = 'participantRequestApproved';
if (v == V.LEAVEREQUEST) t = 'leaveRequest';
if (v == V.PARTICIPANTREMOVE) t = 'participantRemove';

return t;
Expand Down

0 comments on commit 060932b

Please sign in to comment.