diff --git a/server/SHServ/Models/Scripts.php b/server/SHServ/Models/Scripts.php index 77a1c05..bb354a8 100644 --- a/server/SHServ/Models/Scripts.php +++ b/server/SHServ/Models/Scripts.php @@ -155,6 +155,7 @@ "filename" => $script_from_control["attributes"]["filename"], "path" => $script_from_control["attributes"]["path"], "created_by" => $script_from_control["attributes"]["author"], + "scope" => $script_from_control["attributes"]["classname"] ?? null, ]; if($script_entity) {