diff --git a/packages/cdk/lambda/startTranscription.ts b/packages/cdk/lambda/startTranscription.ts index 4ac3a5eb..59cf1421 100644 --- a/packages/cdk/lambda/startTranscription.ts +++ b/packages/cdk/lambda/startTranscription.ts @@ -14,7 +14,7 @@ export const handler = async ( const req: StartTranscriptionRequest = JSON.parse(event.body!); const userId = event.requestContext.authorizer!.claims.sub; - const { audioUrl, mediaFormat } = req; + const { audioUrl } = req; const uuid = uuidv4(); diff --git a/packages/web/src/hooks/useTranscribe.ts b/packages/web/src/hooks/useTranscribe.ts index 7cbcd1a7..0f32a20c 100644 --- a/packages/web/src/hooks/useTranscribe.ts +++ b/packages/web/src/hooks/useTranscribe.ts @@ -54,7 +54,7 @@ const useTranscribeState = create<{ // 音声認識 const startTranscripitonRes = await api.startTranscripiton({ - audioUrl: audioUrl + audioUrl: audioUrl, }); set(() => ({