Skip to content

Commit

Permalink
feat: await promise
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-rw committed Dec 21, 2023
1 parent d5e1a0b commit d25fde9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/dump-contributors.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const options = {
}
};

fetch(url, options).then((response) => {
const data = response.json();
fetch(url, options).then(async (response) => {
const data = await response.json();

const dataSchema = z.array(z.object({
login: z.string(),
Expand Down

0 comments on commit d25fde9

Please sign in to comment.