We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eacbb99 commit 0a67937Copy full SHA for 0a67937
lib/web/auth/github/index.js
@@ -4,6 +4,7 @@ const Router = require('express').Router
4
const passport = require('passport')
5
const GithubStrategy = require('passport-github').Strategy
6
const config = require('../../../config')
7
+const response = require('../../../response')
8
const {setReturnToFromReferer, passportGeneralCallback} = require('../utils')
9
10
let githubAuth = module.exports = Router()
@@ -26,3 +27,6 @@ githubAuth.get('/auth/github/callback',
26
27
failureRedirect: config.serverurl + '/'
28
})
29
)
30
+
31
+// github callback actions
32
+githubAuth.get('/auth/github/callback/:noteId/:action', response.githubActions)
0 commit comments