summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mastoapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 5f13aae..dbd4641 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -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";