fix(basepath): add basepath
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import {
|
||||
deleteDailyWorkData,
|
||||
getDailyWorkList,
|
||||
getSelfDailyWorkList,
|
||||
} from "@/components/label/api/daily"
|
||||
import { Daily } from "@/components/label/api/daily/typing"
|
||||
import { getSelfProjectList } from "@/components/label/api/project"
|
||||
@@ -201,7 +201,7 @@ export default function PersonReportPage() {
|
||||
if (!queryTrigger) return
|
||||
setLoading(true)
|
||||
try {
|
||||
const res = await getDailyWorkList(queryParams)
|
||||
const res = await getSelfDailyWorkList(queryParams)
|
||||
setRecords(res?.daily_work_list ?? [])
|
||||
setTotalItems(res?.total_items ?? 0)
|
||||
setSummary(res?.total_summary ?? null)
|
||||
|
||||
Reference in New Issue
Block a user