delete-shout-fix-2

This commit is contained in:
Untone 2024-01-31 21:41:20 +03:00
parent 0a9b70bfb7
commit 5e5291d7e8

View File

@ -218,10 +218,10 @@ export const EditorProvider = (props: { children: JSX.Element }) => {
}
}
const deleteShout = async (shoutId: number) => {
const deleteShout = async (shout_id: number) => {
try {
await apiClient.deleteShout({
shoutId,
shout_id,
})
return true
} catch {