From b6cb305e5c032ab268fb93b98749d9539c5506fa Mon Sep 17 00:00:00 2001 From: Kristjan Date: Sun, 3 Jan 2021 11:28:23 +0100 Subject: [PATCH] black formatting --- lnbits/extensions/subdomains/views_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/extensions/subdomains/views_api.py b/lnbits/extensions/subdomains/views_api.py index 8ab1eec35..e7d2d21f1 100644 --- a/lnbits/extensions/subdomains/views_api.py +++ b/lnbits/extensions/subdomains/views_api.py @@ -119,7 +119,7 @@ async def api_subdomain_make_subdomain(domain_id): # If the request is coming for the non-existant domain if not domain: return jsonify({"message": "LNsubdomain does not exist."}), HTTPStatus.NOT_FOUND - + ## If record_type is not one of the allowed ones reject the request if g.data["record_type"] not in domain.allowed_record_types: return jsonify({"message": g.data["record_type"] + "Not a valid record"}), HTTPStatus.BAD_REQUEST