Skip to content

Instantly share code, notes, and snippets.

@powerc9000
Created June 3, 2019 19:07
Show Gist options
  • Save powerc9000/a7bde76ed0fbe63fc120548ded338239 to your computer and use it in GitHub Desktop.
Save powerc9000/a7bde76ed0fbe63fc120548ded338239 to your computer and use it in GitHub Desktop.
async function fetchPosts(org, repo) {
const req = await fetch(
`https://api.dropconfig.com/api/documents?org=${org}&repo=${repo}&expand=publications`
);
const res = await req.json();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment