commit d090695

grunfink  ·  2026-02-10 05:10:29 +0000 UTC
parent 6919600
mastoapi: added a (dummy) client_secret_expires_at value in app creation.
1 files changed,  +1, -0
+1, -0
1@@ -3239,6 +3239,7 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path,
2             app = xs_dict_append(app, "client_secret", csec);
3             app = xs_dict_append(app, "vapid_key",     vkey);
4             app = xs_dict_append(app, "id",            id);
5+            app = xs_dict_append(app, "client_secret_expires_at", xs_stock(0));
6 
7             *body  = xs_json_dumps(app, 4);
8             *ctype = "application/json";