We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af60013 commit 6f452afCopy full SHA for 6f452af
1 file changed
src/features/cards/api/getMediumArticles.ts
@@ -4,7 +4,7 @@ import { Article } from 'src/types'
4
import { axios } from 'src/lib/axios'
5
6
const getArticles = async (tag: string): Promise<Article[]> => {
7
- return axios.get(`/data/v2/devto/${tag}.json`)
+ return axios.get(`/data/v2/medium/${tag}.json`)
8
}
9
10
type QueryFnType = typeof getArticles
0 commit comments