diff --git a/src/api/recording.ts b/src/api/recording.ts index cc1aa980..b8247b53 100644 --- a/src/api/recording.ts +++ b/src/api/recording.ts @@ -16,3 +16,11 @@ export const startRecording = async() : Promise => { } }; +export const stopRecording = async (id: string): Promise => { + await axios.get(`http://localhost:8080/record/stop/${id}`) + .then((response : AxiosResponse) => { + }) + .catch((error: any) => { + }); +}; +