From 70a7d91c7fcf57d19b871226063e66669869df2e Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 26 Jun 2026 14:55:50 +0530 Subject: [PATCH] fix: purge project cache after legacy oauth2 update --- app/controllers/api/projects.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index a39ce3c4bd..a9eec75f8b 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -64,6 +64,8 @@ Http::patch('/v1/projects/:projectId/oauth2') ])); }); + $dbForPlatform->purgeCachedDocument('projects', $project->getId()); + $response->dynamic($project, Response::MODEL_PROJECT); });