mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 01:38:44 +00:00
move to calling user /v1 endpoints
This commit is contained in:
1 parent
80da5b0dad
commit
bafa779bfe
1 file changed
+4
-4
@@ -96,19 +96,19 @@ class ApiConfig {
|
||||
}
|
||||
|
||||
createAccount(): string {
|
||||
return `${this.getApiOrigin()}/create_account`;
|
||||
return `${this.getApiOrigin()}/v1/create_account`;
|
||||
}
|
||||
|
||||
login(): string {
|
||||
return `${this.getApiOrigin()}/login`;
|
||||
return `${this.getApiOrigin()}/v1/login`;
|
||||
}
|
||||
|
||||
logout(): string {
|
||||
return `${this.getApiOrigin()}/logout`;
|
||||
return `${this.getApiOrigin()}/v1/logout`;
|
||||
}
|
||||
|
||||
sessionDetails(): string {
|
||||
return `${this.getApiOrigin()}/session`;
|
||||
return `${this.getApiOrigin()}/v1/session`;
|
||||
}
|
||||
|
||||
getQueueStats(): string {
|
||||
|
||||
Reference in new issue
Block a user