fix(FE-174): correct parameter name for next day recording API request

This commit is contained in:
rstubryan
2025-11-20 10:58:32 +07:00
parent c698893f88
commit 6cb517ac92
+9 -6
View File
@@ -100,12 +100,15 @@ export class RecordingService extends BaseApiService<
async nextDayRecording(
projectFlockId: number
): Promise<BaseApiResponse<NextDayRecording> | undefined> {
return await this.customRequest<BaseApiResponse<NextDayRecording>>(`next-day`, {
method: 'GET',
params: {
project_flock_id: projectFlockId,
},
});
return await this.customRequest<BaseApiResponse<NextDayRecording>>(
`next-day`,
{
method: 'GET',
params: {
project_flock_kandang_id: projectFlockId,
},
}
);
}
}