diff --git a/index.html b/index.html index eae944b..9fe2c91 100644 --- a/index.html +++ b/index.html @@ -65,7 +65,6 @@ - diff --git a/scripts/octokit.js b/scripts/octokit.js deleted file mode 100644 index 2f12798..0000000 --- a/scripts/octokit.js +++ /dev/null @@ -1,20 +0,0 @@ -import { Octokit, App } from "https://esm.sh/octokit"; - -async function some() { - const octokit = new Octokit({ - auth: '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' - }) - const owner = 'ranchimall'; - const repo = 'messenger'; - return await octokit.request('GET /repos/{owner}/{repo}', { - owner, - repo, - headers: { - 'X-GitHub-Api-Version': '2022-11-28' - } - }) -} -console.log(new Octokit({ - auth: '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' -})) -// console.log(await some()) diff --git a/scripts/octokit.min.js b/scripts/octokit.min.js deleted file mode 100644 index 59b19ac..0000000 --- a/scripts/octokit.min.js +++ /dev/null @@ -1 +0,0 @@ -import{Octokit,App}from"https://esm.sh/octokit";async function some(){const octokit=new Octokit({auth:"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"});return await octokit.request("GET /repos/{owner}/{repo}",{owner:"ranchimall",repo:"messenger",headers:{"X-GitHub-Api-Version":"2022-11-28"}})}console.log(new Octokit({auth:"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"})); \ No newline at end of file