Skip to content

Commit

Permalink
Updated the deprecated api endpoint users/self to users?profile=true …
Browse files Browse the repository at this point in the history
…in rds.api.ts (#163)
  • Loading branch information
Hariom01010 authored Dec 11, 2024
1 parent 8a9d1d7 commit 07f5c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/rds/rds.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { GetAllRdsUsersReqDto, GetAllRdsUsersResDto, RdsUserSelfResDto } from ".

export class RdsApi {
public static async getCurrentUserData(): Promise<RdsUserSelfResDto> {
const { data } = await rdsClient.get("/users/self")
const { data } = await rdsClient.get("/users?profile=true")
return data
}

Expand Down

0 comments on commit 07f5c0a

Please sign in to comment.