Skip to content

Commit

Permalink
fix response
Browse files Browse the repository at this point in the history
  • Loading branch information
taliyada committed Oct 11, 2023
1 parent 753a53e commit cc0a7b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clients/user/get/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { RestClient } from '@utils/restClient';

import type { UserGetClient, UserResponse } from './types';

export default function get({ config }: UserGetClient): Promise<UserResponse[]> {
return RestClient.fetch<UserResponse[]>(
export default function get({ config }: UserGetClient): Promise<UserResponse> {
return RestClient.fetch<UserResponse>(
'/users/me',
{
headers: {
Expand Down

0 comments on commit cc0a7b3

Please sign in to comment.