Skip to content

Commit

Permalink
docs: Update code to status for HttpResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmpinto authored and ozwaldorf committed Jul 4, 2024
1 parent d2036a0 commit 2540e18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dts/lib.fleek.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ declare namespace Fleek {

/** HTTP Response object. When returned from a function that's requested over http, it will be used to
* modify the http response. Otherwise, for non-http requests, the raw json object will be sent.
* @property {Number} code - Status code to use. Must be an unsigned integer that fits inside a u16.
* @property {Number} status - Status code to use. Must be an unsigned integer that fits inside a u16.
* @property {Headers} headers - Array or map of header key values
* @property {any} body - Body to send to client
* @category Fleek Node API
*/
type HttpResponse = {
code: number;
status: number;
headers: HttpResponseHeaders;
body: any;
};
Expand Down

0 comments on commit 2540e18

Please sign in to comment.