Skip to content

Commit 4b9ad6b

Browse files
author
Friday Openclaw
committed
Fixed duplicat /api in url bug
1 parent 3c7a92a commit 4b9ad6b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/web/src/services/billingEvents.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export const billingEventsApi = {
223223
console.log('[BillingEventsAPI] getWeekInfo called with:', { timekeeperId, weekStartDate })
224224

225225
try {
226-
const response = await apiService.get('/api/time-entry/week-info', {
226+
const response = await apiService.get('/time-entry/week-info', {
227227
params: {
228228
timekeeper_id: timekeeperId,
229229
week_start_date: weekStartDate
@@ -288,7 +288,7 @@ export const billingEventsApi = {
288288
console.log('[BillingEventsAPI] copyWeekEntries called with:', { timekeeperId, sourceWeekStart, targetWeekStart })
289289

290290
try {
291-
const response = await apiService.post('/api/time-entry/copy-week', null, {
291+
const response = await apiService.post('/time-entry/copy-week', null, {
292292
params: {
293293
timekeeper_id: timekeeperId,
294294
source_week_start: sourceWeekStart,

0 commit comments

Comments
 (0)