summaryrefslogtreecommitdiff
path: root/token.h
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-18 21:14:36 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-18 21:14:36 +0800
commit7a47bb74f8cf5780200126deb010df77f0090a37 (patch)
treecf86e156f0d5b0fa1742a0e7b443a562f87d9d8a /token.h
parent20232131dbb00468fa55df70916db1abc5a720fb (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/token.h b/token.h
index c0c1f82..40f600e 100644
--- a/token.h
+++ b/token.h
@@ -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));