Skip to content

Commit b2178c7

Browse files
committed
Remove magic number
1 parent 0341b71 commit b2178c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/payments.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ func (a *API) PaymentConfirm(w http.ResponseWriter, r *http.Request) error {
302302

303303
go sendOrderConfirmation(ctx, log, trans)
304304

305-
return sendJSON(w, 200, trans)
305+
return sendJSON(w, http.StatusOK, trans)
306306
}
307307

308308
// PaymentList will list all the payments that meet the criteria. It is only available to admins.

0 commit comments

Comments
 (0)