mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -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
20b11e4bf0
commit
1010fbd2ed
1 changed files with 3 additions and 0 deletions
|
|
@ -92,6 +92,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