commit ddfd8aaca9c3d3cb0dccf40580337a65f44413ed
parent 9568ec8bfede731d2ecdc5840e3a8a125fc31510
Author: Paul Wilde <psw@wildefedi01.wildenet.wilde.cloud>
Date: Sun, 28 Jan 2024 21:06:36 +0000
cleanup
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mastoapi.c b/mastoapi.c
@@ -363,7 +363,7 @@ int oauth_post_handler(const xs_dict *req, const char *q_path,
I'm not sure of the impacts of this right now, but Subway Tooter does not
provide a code so one must be generated */
if (xs_is_null(code)){
- code = random_str();
+ code = random_str();
}
if (gtype && code && cid && csec && ruri) {
xs *app = app_get(cid);