commit f0c46a7

Paul Wilde  ·  2024-01-28 21:07:31 +0000 UTC
parent ddfd8aa
cleanup
1 files changed,  +2, -2
+2, -2
 1@@ -2008,10 +2008,10 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path,
 2     else if (i_ctype && xs_startswith(i_ctype, "application/x-www-form-urlencoded"))
 3     {
 4 	// Some apps send form data instead of json so we should cater for those
 5-	if (!xs_is_null(payload)) {
 6+        if (!xs_is_null(payload)) {
 7             xs *upl = xs_url_dec(payload);
 8             args    = xs_url_vars(upl);
 9-	}
10+        }
11     }
12     else
13         args = xs_dup(xs_dict_get(req, "p_vars"));