Also copy bruteforce meta data when converting DataResponse to JSONResponse

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/36706/head
Joas Schilling 1 year ago
parent 10f5f1dcb9
commit 890aa3277a
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205

@ -98,6 +98,9 @@ abstract class Controller {
if ($data->getLastModified() !== null) {
$response->setLastModified($data->getLastModified());
}
if ($data->isThrottled()) {
$response->throttle($data->getThrottleMetadata());
}
return $response;
}

Loading…
Cancel
Save