From 7034f84a6ea39662095cb1abab7b0aead456845e Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Tue, 16 Nov 2021 12:20:25 +0100 Subject: [PATCH] fix(response): add $id to Log --- src/Appwrite/Utopia/Response/Model/Log.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Appwrite/Utopia/Response/Model/Log.php b/src/Appwrite/Utopia/Response/Model/Log.php index 8752c6c872..ad468ce1c0 100644 --- a/src/Appwrite/Utopia/Response/Model/Log.php +++ b/src/Appwrite/Utopia/Response/Model/Log.php @@ -10,6 +10,12 @@ class Log extends Model public function __construct() { $this + ->addRule('$id', [ + 'type' => self::TYPE_STRING, + 'description' => 'Log ID.', + 'default' => '', + 'example' => '5e5ea5c16897e', + ]) ->addRule('event', [ 'type' => self::TYPE_STRING, 'description' => 'Event name.',