Last active
October 2, 2022 18:47
-
-
Save nathanclevenger/03e2a28ca5f6e21d0df4c7f639187b0b to your computer and use it in GitHub Desktop.
GitHub Gist API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Octokit } = from 'https://pkg.do/@octokit/rest' | |
export default { | |
fetch: async (req, env) => { | |
octokit.rest.gists.get({ gist_id: '03e2a28ca5f6e21d0df4c7f639187b0b' }) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment