function populateSuccessfulResponse

export declare function populateSuccessfulResponse(res: ServerResponse, data: ResponseLike): Promise<void>;

Populates a server response with the data from a Discord 2xx REST response

Parameters

res: ServerResponse
The server response to populate
data: ResponseLike
The data to populate the response with