remove core from pages
This commit is contained in:
@@ -50,4 +50,9 @@ export class DriversApiClient extends BaseApiClient {
|
||||
getDriverProfile(driverId: string): Promise<DriverProfileDTO> {
|
||||
return this.get<DriverProfileDTO>(`/drivers/${driverId}/profile`);
|
||||
}
|
||||
|
||||
/** Update current driver profile */
|
||||
updateProfile(updates: { bio?: string; country?: string }): Promise<DriverDTO> {
|
||||
return this.put<DriverDTO>('/drivers/profile', updates);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user