mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-22 13:19:05 +00:00
Migrate to openapi-ts generator
This commit is contained in:
@@ -21,7 +21,7 @@ const useWaveform = (id: string): AudioWaveFormResponse => {
|
||||
if (!id || !api) return;
|
||||
setLoading(true);
|
||||
api
|
||||
.v1TranscriptGetAudioWaveform(id)
|
||||
.v1TranscriptGetAudioWaveform({ transcriptId: id })
|
||||
.then((result) => {
|
||||
setWaveform(result);
|
||||
setLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user