Skip to content

Commit

Permalink
Merge pull request #55 from DesmondSanctity/event-badging-submit-api
Browse files Browse the repository at this point in the history
chore: make callback a get request
  • Loading branch information
adeyinkaoresanya authored Oct 7, 2024
2 parents 2050a59 + 8985efa commit 07cfbda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ const setupRoutes = (app) => {
app.get("/api/login", login);

//callbacks
app.post("/api/callback/github", handleOAuthCallback);
app.post("/api/callback/gitlab", handleOAuthCallbackGitlab);
app.get("/api/callback/github", handleOAuthCallback);
app.get("/api/callback/gitlab", handleOAuthCallbackGitlab);

app.get("/api/badgedRepos", badgedRepos);
app.post("/api/repos-to-badge", reposToBadge);
Expand Down

0 comments on commit 07cfbda

Please sign in to comment.