mirror of
https://github.com/logto-io/logto.git
synced 2025-03-24 22:41:28 -05:00
chore(core): fix ui router (#263)
This commit is contained in:
parent
8fa169cba1
commit
4571af65ea
2 changed files with 2 additions and 2 deletions
packages/ui/src/apis
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue