Skip to content

Commit

Permalink
fix: ensures the email is always sent in lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-Torrent committed Aug 24, 2021
1 parent 4a7ce31 commit 09797b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const buildPostItemChatMessageRoute = (id: UUID) =>
`${ITEMS_ROUTE}/${id}/chat`;

export const buildGetMemberBy = (email: string) =>
`${MEMBERS_ROUTE}?email=${email}`;
`${MEMBERS_ROUTE}?email=${email.toLowerCase()}`;
export const buildGetMember = (id: UUID) => `${MEMBERS_ROUTE}/${id}`;
export const buildPatchMember = (id: UUID) => `${MEMBERS_ROUTE}/${id}`;
export const buildUploadFilesRoute = (parentId: UUID) =>
Expand Down

0 comments on commit 09797b1

Please sign in to comment.