mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: heatmap data (#394)
This commit is contained in:
@ -91,7 +91,7 @@ export function getMemoList(memoFind?: MemoFind) {
|
||||
}
|
||||
|
||||
export function getMemoStats(userId: UserId) {
|
||||
return axios.get<ResponseObject<number[]>>(`/api/memo/stats?userId=${userId}`);
|
||||
return axios.get<ResponseObject<number[]>>(`/api/memo/stats?creatorId=${userId}`);
|
||||
}
|
||||
|
||||
export function getMemoById(id: MemoId) {
|
||||
|
Reference in New Issue
Block a user