Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit 460e1b9

Browse files
committed
fix: remove auth check
1 parent a965f8a commit 460e1b9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/api/search.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import { QueryClientConfig } from '../types';
2-
import configureAxios, { verifyAuthentication } from './axios';
2+
import configureAxios from './axios';
33
import { buildGetItemsByKeywordRoute } from './routes';
44

55
const axios = configureAxios();
66

77
/* eslint-disable import/prefer-default-export */
88
export const getItemsByKeywords = async (range: string, keywords: string, { API_HOST }: QueryClientConfig) =>
9-
verifyAuthentication(() =>
10-
axios.get(`${API_HOST}/${buildGetItemsByKeywordRoute(range, keywords)}`).then(({ data }) => data),
9+
(axios.get(`${API_HOST}/${buildGetItemsByKeywordRoute(range, keywords)}`).then(({ data }) => data)
1110
);

0 commit comments

Comments
 (0)