From 2fdfbf6e61c08ee42bd449aab88b7a3a5d6e54c4 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 27 Nov 2025 11:48:32 +0000 Subject: [PATCH] Fix type --- app/controllers/shared/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index 05477d679a..16d44481b6 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -856,7 +856,7 @@ App::shutdown() * * Therefore, we consider this an anonymous request and create a relevant user. */ - $user = new Document([ + $user = new User([ '$id' => '', 'status' => true, 'type' => ACTIVITY_TYPE_GUEST,