Selaa lähdekoodia

* Update requests must also pass through setuprequest

michael 5 vuotta sitten
vanhempi
commit
b457601e27
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      packages/fcl-db/restconnection.pas

+ 1 - 0
packages/fcl-db/restconnection.pas

@@ -273,6 +273,7 @@ begin
     end;
     R.FXHR.open(Method,URL);
     R.FXHR.setRequestHeader('content-type','application/json');
+    Connection.SetupRequest(R.FXHR); 
     if R.Status in [usInserted,usModified] then
       R.FXHR.Send(TJSJSON.Stringify(R.Data))
     else