Add missing field attribute for the /v1/types API handler

refs #9076
This commit is contained in:
Gunnar Beutner 2015-08-26 11:02:22 +02:00
parent 3ea71e82c5
commit b6eb621d30
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ bool TypeQueryHandler::HandleRequest(const ApiUser::Ptr& user, HttpRequest& requ
attributeInfo->Set("config", static_cast<bool>(field.Attributes & FAConfig));
attributeInfo->Set("state", static_cast<bool>(field.Attributes & FAState));
attributeInfo->Set("internal", static_cast<bool>(field.Attributes & FAInternal));
attributeInfo->Set("required", static_cast<bool>(field.Attributes & FARequired));
}