Skip to content

Commit

Permalink
Merge pull request #60 from FoskyM/main
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerwooo authored Apr 6, 2024
2 parents e9599ed + 1776ab0 commit 6663c7a
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 6663c7a

Please sign in to comment.