mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Also copy bruteforce meta data when converting DataResponse to JSONResponse
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
c2cc3afd61
commit
6f3ce5c319
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue