Skip to content

Commit

Permalink
Ran black formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
TreyWW committed Feb 25, 2024
1 parent 6748adf commit c4ee356
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/api/invoices/edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ def change_status(request: HttpRequest, invoice_id: int, status: str) -> HttpRes

send_message(request, f"Invoice status been changed to <strong>{status}</strong>", success=True)

return render(request, "pages/invoices/dashboard/_modify_payment_status.html", {
"status": status, "invoice_id": invoice_id
})
return render(request, "pages/invoices/dashboard/_modify_payment_status.html", {"status": status, "invoice_id": invoice_id})


def return_message(request: HttpRequest, message: str, success: bool = True) -> HttpResponse:
Expand Down

0 comments on commit c4ee356

Please sign in to comment.