Skip to content

Commit

Permalink
Fixed accidental export
Browse files Browse the repository at this point in the history
  • Loading branch information
angela139 committed Jan 8, 2025
1 parent ec184fc commit b8dd468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/app/api/getCurrentUser/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import axios, { AxiosError } from 'axios';
* @param token Authorization bearer token
* @returns User's profile
*/
export const getCurrentUser = async (token: string): Promise<GetCurrentUserResponse> => {
const getCurrentUser = async (token: string): Promise<GetCurrentUserResponse> => {
const requestUrl = `${config.api.baseUrl}${config.api.endpoints.user.user}`;
const response = await axios.get<GetCurrentUserResponse>(requestUrl, {
headers: {
Expand Down

0 comments on commit b8dd468

Please sign in to comment.