Updated Events to GraphQL
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
import $ from "jquery";
|
||||
import { ref } from "vue";
|
||||
import { GraphQLClient } from 'graphql-request';
|
||||
|
||||
const graphqlClient = new GraphQLClient('http://localhost:3000/graphql', {
|
||||
headers: {
|
||||
// optional: Authorization: 'Bearer TOKEN'
|
||||
},
|
||||
});
|
||||
|
||||
const apiBaseUrl = import.meta.env.VITE_BACKEND_URL;
|
||||
|
||||
@@ -308,4 +315,5 @@ export default {
|
||||
Spiel,
|
||||
Formular,
|
||||
Field,
|
||||
graphqlClient
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user