mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed urls
This commit is contained in:
parent
c6a09c27c1
commit
f2e9095cd1
2 changed files with 4 additions and 4 deletions
|
@ -85,7 +85,7 @@ export const apiLoginWithSocial = ({
|
|||
password,
|
||||
}: ApiLoginWithSocialRequest) =>
|
||||
api
|
||||
.post<ApiLoginWithSocialResult>(API.USER.LOGIN_WITH_SOCIAL, {
|
||||
.put<ApiLoginWithSocialResult>(API.USER.LOGIN_WITH_SOCIAL, {
|
||||
token,
|
||||
username,
|
||||
password,
|
||||
|
|
|
@ -18,10 +18,10 @@ export const API = {
|
|||
REQUEST_CODE: (code?: string) => `/auth/restore/${code || ''}`,
|
||||
UPLOAD: (target, type) => `/upload/${target}/${type}`,
|
||||
|
||||
GET_SOCIALS: '/oauth/',
|
||||
GET_SOCIALS: '/oauth',
|
||||
DROP_SOCIAL: (provider, id) => `/oauth/${provider}/${id}`,
|
||||
ATTACH_SOCIAL: `/oauth/attach`,
|
||||
LOGIN_WITH_SOCIAL: `/oauth/login`,
|
||||
ATTACH_SOCIAL: `/oauth`,
|
||||
LOGIN_WITH_SOCIAL: `/oauth`,
|
||||
},
|
||||
NODES: {
|
||||
SAVE: '/nodes/',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue