diff options
Diffstat (limited to 'src/client/api/client.ts')
| -rw-r--r-- | src/client/api/client.ts | 7 |
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 }, |
