From 33bbe61ece3086876f5851edfb8503b0ddb30315 Mon Sep 17 00:00:00 2001 From: krateng Date: Sat, 16 Apr 2022 16:21:24 +0200 Subject: [PATCH] Small fixes --- maloja/apis/native_v1.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/maloja/apis/native_v1.py b/maloja/apis/native_v1.py index df8714a..1d7f232 100644 --- a/maloja/apis/native_v1.py +++ b/maloja/apis/native_v1.py @@ -122,13 +122,12 @@ def test_server(key=None): def server_info(): """Returns basic information about the server. - :return: name (String), version (Tuple), versionstring (String), db_status (String). Additional keys can be added at any point, but will not be removed within API version. + :return: name (String), version (Tuple), versionstring (String), db_status (Mapping). Additional keys can be added at any point, but will not be removed within API version. :rtype: Dictionary """ response.set_header("Access-Control-Allow-Origin","*") - response.set_header("Content-Type","application/json") return { "name":malojaconfig["NAME"],