diff options
| author | 2026-02-10 06:10:29 +0100 | |
|---|---|---|
| committer | 2026-02-10 06:10:29 +0100 | |
| commit | d0906957cd75c86436fec6efcefe4cebab4fedf0 (patch) | |
| tree | c307882ba76bddb11473b0aaee3f37243f5c2807 | |
| parent | Updated TODO. (diff) | |
| download | snac2-d0906957cd75c86436fec6efcefe4cebab4fedf0.tar.gz snac2-d0906957cd75c86436fec6efcefe4cebab4fedf0.tar.xz snac2-d0906957cd75c86436fec6efcefe4cebab4fedf0.zip | |
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, | |||
| 3239 | app = xs_dict_append(app, "client_secret", csec); | 3239 | app = xs_dict_append(app, "client_secret", csec); |
| 3240 | app = xs_dict_append(app, "vapid_key", vkey); | 3240 | app = xs_dict_append(app, "vapid_key", vkey); |
| 3241 | app = xs_dict_append(app, "id", id); | 3241 | app = xs_dict_append(app, "id", id); |
| 3242 | app = xs_dict_append(app, "client_secret_expires_at", xs_stock(0)); | ||
| 3242 | 3243 | ||
| 3243 | *body = xs_json_dumps(app, 4); | 3244 | *body = xs_json_dumps(app, 4); |
| 3244 | *ctype = "application/json"; | 3245 | *ctype = "application/json"; |