Skip to content

Commit

Permalink
Also copy bruteforce meta data when converting DataResponse to JSONRe…
Browse files Browse the repository at this point in the history
…sponse

Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen authored and backportbot-nextcloud[bot] committed Feb 14, 2023
1 parent 33329a5 commit f02022d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/public/AppFramework/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ public function __construct($appName,
if ($data->getLastModified() !== null) {
$response->setLastModified($data->getLastModified());
}
if ($data->isThrottled()) {
$response->throttle($data->getThrottleMetadata());
}

return $response;
}
Expand Down

0 comments on commit f02022d

Please sign in to comment.