From 962775c8fb242453e8ad0a0abe0e4c9528ece6fd Mon Sep 17 00:00:00 2001 From: Hariom Vashista Date: Mon, 9 Dec 2024 01:58:03 +0530 Subject: [PATCH] Updated deprecated /users/self API endpoint to the current working endpoint /users?profile=true --- src/constants/url.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/url.ts b/src/constants/url.ts index 67eace9d3..901cef8f3 100644 --- a/src/constants/url.ts +++ b/src/constants/url.ts @@ -10,7 +10,7 @@ export const STATUS_URL = 'https://status.realdevsquad.com'; export const LOGIN_URL = `https://github.com/login/oauth/authorize?client_id=23c78f66ab7964e5ef97&state=${STATUS_URL}`; export const MEMBERS_URL = 'https://members.realdevsquad.com'; export const CHALLENGES_URL = `${BASE_URL}/challenges`; -export const USER_SELF = `${BASE_URL}/users/self`; +export const USER_SELF = `${BASE_URL}/users?profile=true`; export const USERS_IDLE = `${BASE_URL}/users/search?state=IDLE`; export const DEFAULT_AVATAR = '/Avatar.png'; export const RDS_LOGO = '/RDSLogo.png';