Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
tommi-miettinen committed Jan 22, 2024
1 parent 3f2b96e commit 889ab57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Frontend/src/api/userAPI.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import apiClient from "./apiClient";

const getCurrentUser = async () => {
const result = await apiClient.get<OdataResponse<User>>(`/users/me?$expand=Userrole($expand=role)`);
const result = await apiClient.get<User>(`/users/me?$expand=Userrole($expand=role)`);
return result.data;
};

Expand Down

0 comments on commit 889ab57

Please sign in to comment.