Also copy bruteforce meta data when converting DataResponse to JSONResponse

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

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

Loading…
Cancel
Save