From 9fc1b0b71b01bc56ec43a51e99703ef0de81499d Mon Sep 17 00:00:00 2001 From: shimon Date: Mon, 22 Jan 2024 10:09:13 +0200 Subject: [PATCH] Added marked_for_deletion and billing_plan_downgrade to hamster export --- src/Appwrite/Platform/Workers/Hamster.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Workers/Hamster.php b/src/Appwrite/Platform/Workers/Hamster.php index dcc4404dda..1830f4b9b1 100644 --- a/src/Appwrite/Platform/Workers/Hamster.php +++ b/src/Appwrite/Platform/Workers/Hamster.php @@ -428,7 +428,7 @@ class Hamster extends Action Query::equal('userInternalId', [$user->getInternalId()]) ]); - if (!empty($organization) || !$organization->isEmpty()) { + if (!empty($organization) && !$organization->isEmpty()) { $billingPlan = $organization->getAttribute('billingPlan', null); $billingPlanDowngrade = $organization->getAttribute('billingPlanDowngrade', null);