Skip to content

Commit

Permalink
Merge pull request #2534 from nextcloud/bugfix/fix-file-unlink
Browse files Browse the repository at this point in the history
fix: Fix spreadsheet unlinking
  • Loading branch information
Chartman123 authored Jan 29, 2025
2 parents 862f39e + ce208e2 commit 6d40e08
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 6d40e08

Please sign in to comment.