From 4a3b8fb70e8a3b80c41b33900695fb981e17e902 Mon Sep 17 00:00:00 2001 From: Khushboo Verma <43381712+vermakhushboo@users.noreply.github.com> Date: Fri, 3 Nov 2023 15:32:50 +0530 Subject: [PATCH] Change projectId to projectInternalId --- src/Appwrite/Platform/Workers/Deletes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Appwrite/Platform/Workers/Deletes.php b/src/Appwrite/Platform/Workers/Deletes.php index 5369419ff5..7a22128854 100644 --- a/src/Appwrite/Platform/Workers/Deletes.php +++ b/src/Appwrite/Platform/Workers/Deletes.php @@ -457,13 +457,13 @@ class Deletes extends Action // Delete VCS Repositories and Comments $this->deleteByGroup('repositories', [ - Query::equal('installationInternalId', [$projectInternalId]), + Query::equal('projectInternalId', [$projectInternalId]), ], $dbForConsole, function (Document $document) use ($dbForConsole) { $providerRepositoryId = $document->getAttribute('providerRepositoryId', ''); - $projectId = $document->getAttribute('projectId', ''); + $projectInternalId = $document->getAttribute('projectInternalId', ''); $this->deleteByGroup('vcsComments', [ Query::equal('providerRepositoryId', [$providerRepositoryId]), - Query::equal('projectId', [$projectId]), + Query::equal('projectInternalId', [$projectInternalId]), ], $dbForConsole); });