use prompt to ask for GitHub token

This commit is contained in:
martin-mfg
2025-09-23 12:39:10 +02:00
parent a3d50e06ad
commit a93c18b7b5
+1 -1
View File
@@ -134,7 +134,7 @@ const HomeScreen = () => {
'https://api.github.com/search/commits?q=author:martin-mfg',
);
console.log(restResult);
const ghToken = 'placeholder'; // to be filled in manually via debugger
const ghToken = prompt('input GitHub token:');
const graphqlResult = await axios.post(
'https://api.github.com/graphql',
{