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
Name | Type | Optional | Description |
---|---|---|---|
res | ServerResponse | No | The server response to populate |
data | ResponseLike | No | The data to populate the response with |