website refactor
This commit is contained in:
@@ -28,7 +28,7 @@ export class DriversApiClient extends BaseApiClient {
|
||||
|
||||
/** Get current driver (based on session) */
|
||||
getCurrent(): Promise<GetDriverOutputDTO | null> {
|
||||
return this.get<GetDriverOutputDTO | null>('/drivers/current');
|
||||
return this.get<GetDriverOutputDTO | null>('/drivers/current', { allowUnauthenticated: true });
|
||||
}
|
||||
|
||||
/** Get driver registration status for a specific race */
|
||||
|
||||
Reference in New Issue
Block a user