0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-24 22:41:28 -05:00

chore(core): fix ui router ()

This commit is contained in:
Darcy Ye 2022-02-21 11:46:55 +08:00 committed by GitHub
parent 8fa169cba1
commit 4571af65ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
packages/ui/src/apis

View file

@ -6,7 +6,7 @@ export const register = async (username: string, password: string) => {
};
return ky
.post('/api/session/register', {
.post('/api/session/register/username-password', {
json: {
username,
password,

View file

@ -6,7 +6,7 @@ export const signInBasic = async (username: string, password: string) => {
};
return ky
.post('/api/session', {
.post('/api/session/sign-in/username-password', {
json: {
username,
password,