diff options
author | default <nobody@localhost> | 2023-08-16 18:18:46 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-08-16 18:18:46 +0200 |
commit | d26b31ed1d5ca138dacbd0697be38d5df7b87e10 (patch) | |
tree | a415b6f6b6d9f1e61518295bfe9633f43a80aa9c /mastoapi.c | |
parent | a291d3d9bf51ebb211e02039e00a58e12874f5b3 (diff) |
mastoapi: minor fix in verify_credentials.
Diffstat (limited to 'mastoapi.c')
-rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -980,7 +980,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, if (logged_in) { xs *acct = xs_dict_new(); - acct = xs_dict_append(acct, "id", xs_dict_get(snac1.config, "uid")); + acct = xs_dict_append(acct, "id", snac1.md5); acct = xs_dict_append(acct, "username", xs_dict_get(snac1.config, "uid")); acct = xs_dict_append(acct, "acct", xs_dict_get(snac1.config, "uid")); acct = xs_dict_append(acct, "display_name", xs_dict_get(snac1.config, "name")); |