Skip to content

Commit 102e86e

Browse files
committed
Fix fetchProfile return type to Promise<Profile>
1 parent 891124c commit 102e86e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/api/profiles.api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ export const fetchProfiles = () =>
99
export const fetchProfile = (profileId = 1) =>
1010
baseApi.getJson({
1111
url: `${PROFILE_API_ENDPOINT}/${profileId}`,
12-
}) as Promise<ProfileDTO>;
12+
}) as Promise<Profile>;

0 commit comments

Comments
 (0)