File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,13 +84,13 @@ declare namespace Fleek {
84
84
85
85
/** HTTP Response object. When returned from a function that's requested over http, it will be used to
86
86
* modify the http response. Otherwise, for non-http requests, the raw json object will be sent.
87
- * @property {Number } code - Status code to use. Must be an unsigned integer that fits inside a u16.
87
+ * @property {Number } status - Status code to use. Must be an unsigned integer that fits inside a u16.
88
88
* @property {Headers } headers - Array or map of header key values
89
89
* @property {any } body - Body to send to client
90
90
* @category Fleek Node API
91
91
*/
92
92
type HttpResponse = {
93
- code : number ;
93
+ status : number ;
94
94
headers : HttpResponseHeaders ;
95
95
body : any ;
96
96
} ;
You can’t perform that action at this time.
0 commit comments