diff --git a/modules/apigee_edge_teams/src/Controller/TeamAppKeysController.php b/modules/apigee_edge_teams/src/Controller/TeamAppKeysController.php index 2fa31d8d..b3545b09 100644 --- a/modules/apigee_edge_teams/src/Controller/TeamAppKeysController.php +++ b/modules/apigee_edge_teams/src/Controller/TeamAppKeysController.php @@ -46,7 +46,7 @@ public function teamAppKeys($team, $app): JsonResponse { $payload = $this->getAppKeys($app_storage->load($app_id)); } } - return new JsonResponse($payload); + return new JsonResponse($payload, 200, ['Cache-Control' => 'must-understand, no-store']); } } diff --git a/src/Controller/DeveloperAppKeysController.php b/src/Controller/DeveloperAppKeysController.php index 01e337d5..7c46e1a4 100644 --- a/src/Controller/DeveloperAppKeysController.php +++ b/src/Controller/DeveloperAppKeysController.php @@ -76,7 +76,7 @@ public function developerAppKeys($user, $app): JsonResponse { } } } - return new JsonResponse($payload); + return new JsonResponse($payload, 200, ['Cache-Control' => 'must-understand, no-store']); } /**