From f6d62d9c190e0e1a86db793f7efad162f83654d0 Mon Sep 17 00:00:00 2001 From: hkernbach Date: Mon, 2 Dec 2019 17:44:42 +0100 Subject: [PATCH] bracket mistake --- arangod/RestHandler/RestReplicationHandler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arangod/RestHandler/RestReplicationHandler.cpp b/arangod/RestHandler/RestReplicationHandler.cpp index 14a93b72e4..b043971eec 100644 --- a/arangod/RestHandler/RestReplicationHandler.cpp +++ b/arangod/RestHandler/RestReplicationHandler.cpp @@ -663,14 +663,14 @@ Result RestReplicationHandler::testPermissions() { return Result(TRI_ERROR_HTTP_BAD_PARAMETER, "empty collection name"); } + } else { + return Result(TRI_ERROR_HTTP_BAD_PARAMETER, + "invalid collection name type"); } } else { return Result(TRI_ERROR_HTTP_BAD_PARAMETER, - "invalid collection name type"); + "invalid collection parameter type"); } - } else { - return Result(TRI_ERROR_HTTP_BAD_PARAMETER, - "invalid collection parameter type"); } } }