From 5d57e2bbddce707e81d92f40dc8910db36089c8b Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Fri, 24 May 2019 10:12:50 +0200 Subject: [PATCH] add json test db for using my-json-server.typicode.com --- db.json | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/db.json b/db.json index 3d11676..12c1d86 100644 --- a/db.json +++ b/db.json @@ -1,18 +1,16 @@ { - "false": [ + "false": { "ok":false, "error_code":404, "description":"Not Found" - } - ], - "ok": [ + } , + "ok": { "ok":true, "description":"Ttest for ok" - } - ], - "getMe": [ + } , + "getMe": { "ok":true, "result": @@ -23,5 +21,5 @@ "username":"TestBotBash" } } - ] + }