mirror of
https://github.com/kikootwo/ReadMeABook.git
synced 2026-06-03 04:40:09 +00:00
Better UX for Custom Lists
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
const axios = require('axios');
|
||||
async function run() {
|
||||
try {
|
||||
const res = await axios.post('https://api.hardcover.app/v1/graphql', {
|
||||
query: "{ __schema { types { name } } }"
|
||||
});
|
||||
console.log(res.data);
|
||||
} catch(e) {
|
||||
console.log(e.response ? e.response.data : e.message);
|
||||
}
|
||||
}
|
||||
run();
|
||||
Reference in New Issue
Block a user