File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,12 @@ export const ApiPayloadTooLargeResponse = (options: ApiResponseOptions = {}) =>
211
211
status : HttpStatus . PAYLOAD_TOO_LARGE
212
212
} ) ;
213
213
214
+ export const ApiPaymentRequiredResponse = ( options : ApiResponseOptions = { } ) =>
215
+ ApiResponse ( {
216
+ ...options ,
217
+ status : HttpStatus . PAYMENT_REQUIRED
218
+ } ) ;
219
+
214
220
export const ApiRequestTimeoutResponse = ( options : ApiResponseOptions = { } ) =>
215
221
ApiResponse ( {
216
222
...options ,
Original file line number Diff line number Diff line change @@ -122,6 +122,9 @@ export function ApiPreconditionFailedResponse() {
122
122
export function ApiPayloadTooLargeResponse ( ) {
123
123
return ( ) => { } ;
124
124
}
125
+ export function ApiPaymentRequiredResponse ( ) {
126
+ return ( ) => { } ;
127
+ }
125
128
export function ApiRequestTimeoutResponse ( ) {
126
129
return ( ) => { } ;
127
130
}
You can’t perform that action at this time.
0 commit comments