diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-18 21:14:36 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-18 21:14:36 +0800 |
commit | 7a47bb74f8cf5780200126deb010df77f0090a37 (patch) | |
tree | cf86e156f0d5b0fa1742a0e7b443a562f87d9d8a /token.h | |
parent | 20232131dbb00468fa55df70916db1abc5a720fb (diff) |
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.
Diffstat (limited to 'token.h')
-rw-r--r-- | token.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ #include <json.h> -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)); |