feat: add wallet settlement audit flow
This commit is contained in:
@@ -612,6 +612,8 @@ func statusFromRunError(err error) int {
|
||||
return http.StatusNotFound
|
||||
case errors.Is(err, store.ErrRateLimited):
|
||||
return http.StatusTooManyRequests
|
||||
case errors.Is(err, store.ErrInsufficientWalletBalance):
|
||||
return http.StatusPaymentRequired
|
||||
default:
|
||||
return http.StatusBadGateway
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user