Skip to content

Commit

Permalink
Remove slash at the start of login calls (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn authored Jul 3, 2024
1 parent b010e72 commit 04f2e23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/views/LoginView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const goHome = () => {
const signUp = async () => {
isLoading.value = true;
loginError.value = '';
const { data } = await call('/waiting-list/join').post({
const { data } = await call('waiting-list/join').post({
email: username.value,
}).json();
Expand All @@ -159,7 +159,7 @@ const login = async () => {
// If they come here the first time we check if they're allowed to login
// If they come here a second time after not being allowed it's because they have an invite code.
if (!showInviteFlow.value) {
const { data: canLogin, error } = await call('/can-login').post({
const { data: canLogin, error } = await call('can-login').post({
email: username.value,
}).json();
Expand Down

0 comments on commit 04f2e23

Please sign in to comment.