Skip to content

Commit 6f452af

Browse files
committed
fix wrong medium parameter
1 parent af60013 commit 6f452af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/features/cards/api/getMediumArticles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Article } from 'src/types'
44
import { axios } from 'src/lib/axios'
55

66
const getArticles = async (tag: string): Promise<Article[]> => {
7-
return axios.get(`/data/v2/devto/${tag}.json`)
7+
return axios.get(`/data/v2/medium/${tag}.json`)
88
}
99

1010
type QueryFnType = typeof getArticles

0 commit comments

Comments
 (0)