Change fetch return code to 200

includes:
* Change policy backup fetch return code to 200 when fetched.
* Check db access when perform API health check
diff --git a/staffeln/api/app.py b/staffeln/api/app.py
index a52daba..bf1234e 100755
--- a/staffeln/api/app.py
+++ b/staffeln/api/app.py
@@ -30,12 +30,15 @@
             status=200,

             mimetype="text/plain",

         )

-    else:

-        return Response("False", status=401, mimetype="text/plain")

+    return Response("False", status=200, mimetype="text/plain")

 

 

 @app.route("/v1/health", methods=["GET"])

 def health():

+    # Make sure API service can access to DB with no error.

+    objects.Volume.get_backup_by_backup_id(  # pylint: disable=E1120

+        context=ctx, backup_id="api-health-check"

+    )

     return Response(

         "True",

         status=200,