Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
fix (Submissions) ensure submissions are deleted when requested
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas-Westby committed Sep 19, 2020
1 parent b10965b commit 34f6fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formulate.app/Controllers/StoredDataController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public object DeleteSubmission(DeleteSubmissionRequest request)
var id = GuidHelper.GetGuid(request.GeneratedId);

// Delete the submission.
using (var scope = ScopeProvider.CreateScope())
using (var scope = ScopeProvider.CreateScope(autoComplete: true))
{
scope.Database.Delete("FormulateSubmission", "GeneratedId", null, id);
}
Expand Down

0 comments on commit 34f6fd2

Please sign in to comment.