Search...

populateSuccessfulResponse

export declare function populateSuccessfulResponse(res: ServerResponse, data: ResponseLike): Promise<void>;
export declare function populateSuccessfulResponse(res: ServerResponse, data: ResponseLike): Promise<void>;
Populates a server response with the data from a Discord 2xx REST response
NameTypeOptionalDescription
resServerResponseNoThe server response to populate
dataResponseLikeNoThe data to populate the response with