Skip to content

Commit

Permalink
fix: typing
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <tukon479@gmail.com>
  • Loading branch information
Innei committed Oct 25, 2024
1 parent 81b123a commit 907b7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const DashBoardView = defineComponent({
}

const fetchSiteLikeCount = async () => {
return await RESTManager.api('like_this').get()
return await RESTManager.api('like_this').get<number>()
}

onMounted(async () => {
Expand Down

0 comments on commit 907b7f7

Please sign in to comment.