Skip to content

Commit

Permalink
refactor: #13
Browse files Browse the repository at this point in the history
  • Loading branch information
raunakgurud09 committed Jan 31, 2024
1 parent 5926a87 commit 8f7bf43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ const getUser = async () => {
try {
const { data } = await axios_2.api.post("/", { ...(0, api_1.Me)() });
return {
data: data.data,
data: data,
error: data.error,
};
}
Expand Down
2 changes: 1 addition & 1 deletion src/controller/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export const getUser = async (): Promise<any> => {
const { data } = await api.post("/", { ...Me() });

return {
data: data.data,
data: data,
error: data.error,
};
} catch (error) {
Expand Down

0 comments on commit 8f7bf43

Please sign in to comment.