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