diff options
| author | grunfink <grunfink@comam.es> | 2026-02-10 06:10:29 +0100 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2026-02-10 06:10:29 +0100 |
| commit | d0906957cd75c86436fec6efcefe4cebab4fedf0 (patch) | |
| tree | c307882ba76bddb11473b0aaee3f37243f5c2807 | |
| parent | 6919600d43a6c77b42305c935f45d4fc20c84373 (diff) | |
mastoapi: added a (dummy) client_secret_expires_at value in app creation.
| -rw-r--r-- | mastoapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3239,6 +3239,7 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path, app = xs_dict_append(app, "client_secret", csec); app = xs_dict_append(app, "vapid_key", vkey); app = xs_dict_append(app, "id", id); + app = xs_dict_append(app, "client_secret_expires_at", xs_stock(0)); *body = xs_json_dumps(app, 4); *ctype = "application/json"; |