mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
fix: remove trailing / for invitation url
This commit is contained in:
parent
f2aff43038
commit
52bcc06f96
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import { http } from '@/services'
|
|||
import { userStore } from '@/stores'
|
||||
|
||||
export const invitationService = {
|
||||
getUserProspect: async (token: string) => await http.get<User>(`invitations/?token=${token}`),
|
||||
getUserProspect: async (token: string) => await http.get<User>(`invitations?token=${token}`),
|
||||
|
||||
async accept (token: string, name: string, password: string) {
|
||||
await http.post<User>('invitations/accept', { token, name, password })
|
||||
|
|
Loading…
Reference in a new issue