feat: stop recording

This commit is contained in:
karishmas6
2024-06-09 01:06:22 +05:30
parent a6c6916bf6
commit 7018e7dde0

View File

@@ -16,3 +16,11 @@ export const startRecording = async() : Promise<string> => {
}
};
export const stopRecording = async (id: string): Promise<void> => {
await axios.get(`http://localhost:8080/record/stop/${id}`)
.then((response : AxiosResponse<boolean>) => {
})
.catch((error: any) => {
});
};