From 7a47bb74f8cf5780200126deb010df77f0090a37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 18 Sep 2022 21:14:36 +0800 Subject: Move MHD access handler to the library so the code on the app side is much simpler. Also prepare for accessing the GraphQL Admin API. --- token.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'token.h') diff --git a/token.h b/token.h index c0c1f82..40f600e 100644 --- a/token.h +++ b/token.h @@ -1,6 +1,6 @@ #include -static inline void token_parse(const char *tok, struct session *session) +static inline void token_parse(const char *tok, struct shopify_session *session) { json_tokener *tokener = json_tokener_new(); json_object *obj = json_tokener_parse_ex(tokener, tok, strlen(tok)); -- cgit v1.2.3