Skip to content

Commit

Permalink
fix: do not check authentication for GET item login
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia committed Jan 4, 2022
1 parent 3e05a0e commit eb0381a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/api/itemLogin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ export const postItemLoginSignIn = async (
);

export const getItemLogin = async (id: UUID, { API_HOST }: QueryClientConfig) =>
verifyAuthentication(() =>
axios
.get(`${API_HOST}/${buildGetItemLoginRoute(id)}`)
.then(({ data }) => data),
);
axios
.get(`${API_HOST}/${buildGetItemLoginRoute(id)}`)
.then(({ data }) => data)


export const putItemLoginSchema = async (
{ itemId, loginSchema }: { itemId: UUID; loginSchema: string },
Expand Down

0 comments on commit eb0381a

Please sign in to comment.