From: Michael Tremer Date: Wed, 4 Mar 2026 13:22:11 +0000 (+0000) Subject: dbl: Send correct user to close a report X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=c7590cb6718cdd581a8eb6e22c0208430fa50aad;p=ipfire.org.git dbl: Send correct user to close a report Signed-off-by: Michael Tremer --- diff --git a/src/backend/dbl.py b/src/backend/dbl.py index 22bf3652..25212891 100644 --- a/src/backend/dbl.py +++ b/src/backend/dbl.py @@ -389,13 +389,12 @@ class Report(Model): # Compose the payload body = { - "closed_by" : closed_by.uid, - "accept" : accept, + "accept" : accept, } # Send the request await self._backend.dbl._fetch( - "/reports/%s/close" % self.id, method="POST", body=body, + "/reports/%s/close" % self.id, method="POST", body=body, as_user=closed_by, ) # Comments