From 52bcc06f962a1ff9afa09403c5f936beddb96ea2 Mon Sep 17 00:00:00 2001 From: Phan An Date: Thu, 24 Aug 2023 00:25:18 +0200 Subject: [PATCH] fix: remove trailing / for invitation url --- resources/assets/js/services/invitationService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/services/invitationService.ts b/resources/assets/js/services/invitationService.ts index cb27d119..16d30c8f 100644 --- a/resources/assets/js/services/invitationService.ts +++ b/resources/assets/js/services/invitationService.ts @@ -2,7 +2,7 @@ import { http } from '@/services' import { userStore } from '@/stores' export const invitationService = { - getUserProspect: async (token: string) => await http.get(`invitations/?token=${token}`), + getUserProspect: async (token: string) => await http.get(`invitations?token=${token}`), async accept (token: string, name: string, password: string) { await http.post('invitations/accept', { token, name, password })