Skip to content

Commit

Permalink
fix: zhihu fetchUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
FoskyM committed Apr 6, 2024
1 parent e9599ed commit 1776ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/src/providers/zhihu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default async function zhihuProvider(
return commonProviderHandler<ZhihuResponse>({
providerName: 'zhihu',
queryKey: key,
fetchUrl: `https://www.zhihu.com/api/v4/members/${key}?include=follower_count`,
fetchUrl: `https://api.zhihu.com/people/${key}/profile`,
countObjPath: 'follower_count',
errorMessageObjPath: 'error.message',
isResponseValid: d => 'follower_count' in d,
Expand Down

0 comments on commit 1776ab0

Please sign in to comment.