Skip to content

Commit

Permalink
feat: export default branch for orgs repos endpoint (#70)
Browse files Browse the repository at this point in the history
* feat: export default branch for orgs repos endpoint

* chore: lint
  • Loading branch information
Barbapapazes authored Jan 4, 2024
1 parent 7325635 commit bd13230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion routes/_health.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default eventHandler(async () => {
export default eventHandler(() => {
// const runtimeConfig = useRuntimeConfig();
// const res = await $fetch.raw("/meta", {
// baseURL: "https://api.github.com",
Expand Down
1 change: 1 addition & 0 deletions routes/orgs/[owner]/repos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default eventHandler(async (event) => {
stars: rawRepo.stargazers_count,
watchers: rawRepo.watchers,
forks: rawRepo.forks,
defaultBranch: rawRepo.default_branch,
},
);

Expand Down

0 comments on commit bd13230

Please sign in to comment.