From be5f81a0978f44ceb2f35e7f5e38f31bd3d8448e Mon Sep 17 00:00:00 2001 From: "me@ow.nekobit.net" Date: Tue, 15 Feb 2022 20:35:23 +0000 Subject: [PATCH] Fix incorrect references FossilOrigin-Name: d8f69722c612e98a511a9b700416dce7080bb7cede576a0eb7e8b0bd701d36a0 --- src/application.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/application.c b/src/application.c index d5f8631..e7f79ee 100644 --- a/src/application.c +++ b/src/application.c @@ -55,14 +55,11 @@ static int mstdnt_read_token_result(struct mstdnt_storage* storage, return 1; struct _mstdnt_str_val strings[] = { - { "grant_type", &(app->grant_type) }, - { "client_id", &(app->client_id) }, - { "client_secret", &(app->client_secret) }, - { "redirect_uri", &(app->redirect_uri) }, + { "access_token", &(app->access_token) }, + { "token_type", &(app->token_type) }, { "scope", &(app->scope) }, - { "code", &(app->code) }, - { "username", &(app->username) }, - { "password", &(app->password) }, + { "id", &(app->id) }, + { "me", &(app->me) }, }; for (v = root->child; v; v = v->next)