Merge pull request #36706 from nextcloud/backport/36700/stable21

[stable21] Also copy meta data when converting DataResponse to JSONRe…
pull/36819/head
blizzz 1 year ago committed by GitHub
commit 80a1e24ea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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