aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/client/api/client.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-07 03:24:42 +0900
committernsfisis <nsfisis@gmail.com>2025-12-07 03:24:46 +0900
commit26df54a09d7e195d0e33266e0b34f8e11d072277 (patch)
treeca7f47d8beb4fcea7419350852b845b8a3179ec1 /src/client/api/client.ts
parent39deb471d976d863d2ec803f908025a2366f1486 (diff)
downloadkioku-26df54a09d7e195d0e33266e0b34f8e11d072277.tar.gz
kioku-26df54a09d7e195d0e33266e0b34f8e11d072277.tar.zst
kioku-26df54a09d7e195d0e33266e0b34f8e11d072277.zip
feat(client): remove registration page
Diffstat (limited to 'src/client/api/client.ts')
-rw-r--r--src/client/api/client.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/client/api/client.ts b/src/client/api/client.ts
index f9b8a61..36a7431 100644
--- a/src/client/api/client.ts
+++ b/src/client/api/client.ts
@@ -119,13 +119,6 @@ export class ApiClient {
}
}
- async register(username: string, password: string) {
- const res = await this.rpc.api.auth.register.$post({
- json: { username, password },
- });
- return this.handleResponse<{ user: { id: string; username: string } }>(res);
- }
-
async login(username: string, password: string): Promise<AuthResponse> {
const res = await this.rpc.api.auth.login.$post({
json: { username, password },