Browse Source

* Fix RequireMetadata

git-svn-id: trunk@41617 -
michael 6 years ago
parent
commit
0b6b748b15
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/fcl-web/src/restbridge/sqldbrestio.pp

+ 2 - 0
packages/fcl-web/src/restbridge/sqldbrestio.pp

@@ -708,6 +708,8 @@ procedure TRestOutputStreamer.SetOutputOptions(AValue: TRestOutputOptions);
 begin
   if FOutputOptions=AValue then Exit;
   FOutputOptions:=AValue;
+  if RequireMetadata then
+    Include(FOutputOptions,ooMetadata);
 end;
 
 procedure TRestOutputStreamer.CreateErrorContent(aCode: Integer;