From 8267742d5f0370389e8062643d0145888882d304 Mon Sep 17 00:00:00 2001 From: SchneiderInfosystems Date: Fri, 3 Apr 2020 16:14:19 +0200 Subject: [PATCH] Solve issue #40 --- Source/FB4D.Firestore.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/FB4D.Firestore.pas b/Source/FB4D.Firestore.pas index fe7ad73..2a29d62 100644 --- a/Source/FB4D.Firestore.pas +++ b/Source/FB4D.Firestore.pas @@ -358,7 +358,7 @@ function TFirestoreDatabase.GetSynchronous(Params: TRequestResourceParam; Response.CheckForJSONObj; result := TFirestoreDocuments.CreateFromJSONDocumentsObj(Response) end else - raise EFirebaseResponse.Create(Response.ErrorMsgOrStatusText); + result := nil; end; procedure TFirestoreDatabase.CreateDocument(DocumentPath: TRequestResourceParam;