mirror of
https://github.com/docker/docs.git
synced 2026-10-23 18:09:02 +03:00
13 lines
315 B
JavaScript
13 lines
315 B
JavaScript
'use strict';
|
|
|
|
const debug = require('debug')('hub:actions:githubOauth');
|
|
const _ = require('lodash');
|
|
const request = require('superagent');
|
|
|
|
module.exports = function(actionContext, {stateString}) {
|
|
request.post('/oauth/github-attempt/')
|
|
.send( {ghk: stateString} )
|
|
.end(function(err, res) {
|
|
});
|
|
};
|