feat: configure overview camera per curriculum week

This commit is contained in:
2026-09-22 17:49:47 +09:00
parent d42f07ec6f
commit 8e82e10234
4 changed files with 26 additions and 24 deletions
-5
View File
@@ -1,5 +1,4 @@
export type InstructorPlatform = {
camera?: { url: string; password: string };
id: string;
masterPlatformId: string;
name: string;
@@ -191,8 +190,6 @@ export async function updateInstructorPlatform(
algorithms: PlatformAlgorithms,
controlDurationMinutes: number,
controlWarningMinutes: number,
cameraViewUrl: string,
cameraPassword: string,
): Promise<InstructorPlatformsResponse> {
const response = await fetch(`${LMS_API_BASE_URL}/instructor/platforms/${platformId}`, {
method: 'PUT',
@@ -210,8 +207,6 @@ export async function updateInstructorPlatform(
algorithms,
controlDurationMinutes,
controlWarningMinutes,
cameraViewUrl,
cameraPassword,
}),
});