From b6eb621d309f731f5631302f140ddbf2f604d1a7 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 26 Aug 2015 11:02:22 +0200 Subject: [PATCH] Add missing field attribute for the /v1/types API handler refs #9076 --- lib/remote/typequeryhandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/remote/typequeryhandler.cpp b/lib/remote/typequeryhandler.cpp index 79d43881e..aea42c124 100644 --- a/lib/remote/typequeryhandler.cpp +++ b/lib/remote/typequeryhandler.cpp @@ -144,6 +144,7 @@ bool TypeQueryHandler::HandleRequest(const ApiUser::Ptr& user, HttpRequest& requ attributeInfo->Set("config", static_cast(field.Attributes & FAConfig)); attributeInfo->Set("state", static_cast(field.Attributes & FAState)); + attributeInfo->Set("internal", static_cast(field.Attributes & FAInternal)); attributeInfo->Set("required", static_cast(field.Attributes & FARequired)); }