From: Gunnar Beutner Date: Wed, 26 Aug 2015 09:02:22 +0000 (+0200) Subject: Add missing field attribute for the /v1/types API handler X-Git-Tag: v2.4.0~368 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6eb621d309f731f5631302f140ddbf2f604d1a7;p=icinga2 Add missing field attribute for the /v1/types API handler refs #9076 --- 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)); }