Skip to content

Commit

Permalink
fix: Fix spreadsheet unlinking
Browse files Browse the repository at this point in the history
Signed-off-by: Kostiantyn Miakshyn <[email protected]>
  • Loading branch information
Koc committed Jan 29, 2025
1 parent 862f39e commit ce208e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/Results.vue
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,9 @@ export default {

methods: {
async onUnlinkFile() {
await axios.update(
generateOcsUrl('apps/forms/api/v3/forms/{id}', {
id: this.form.id,
await axios.patch(
generateOcsUrl('apps/forms/api/v3/forms/{formId}', {
formId: this.form.id,
}),
{
keyValuePairs: {
Expand Down

0 comments on commit ce208e2

Please sign in to comment.