add website tests
This commit is contained in:
@@ -23,7 +23,9 @@ export class AuthApiClient extends BaseApiClient {
|
||||
|
||||
/** Get current session */
|
||||
getSession(): Promise<AuthSessionDTO | null> {
|
||||
return this.get<AuthSessionDTO | null>('/auth/session');
|
||||
return this.request<AuthSessionDTO | null>('GET', '/auth/session', undefined, {
|
||||
allowUnauthenticated: true,
|
||||
});
|
||||
}
|
||||
|
||||
/** Logout */
|
||||
|
||||
Reference in New Issue
Block a user