mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 19:26:31 -05:00
Revert last change.
This commit is contained in:
parent
d6316a24c9
commit
31d978e450
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
@ -449,7 +449,7 @@ app.get('/gitlab', function (req, res) {
|
||||||
.then(function(user) {
|
.then(function(user) {
|
||||||
ret.accesstoken = user.accessToken;
|
ret.accesstoken = user.accessToken;
|
||||||
request(
|
request(
|
||||||
config.gitlab.baseURL + '/api/v3/projects/owned?access_token=' + user.accessToken,
|
config.gitlab.baseURL + '/api/v3/projects?access_token=' + user.accessToken,
|
||||||
function(error, httpResponse, body) {
|
function(error, httpResponse, body) {
|
||||||
if (!error && httpResponse.statusCode == 200) {
|
if (!error && httpResponse.statusCode == 200) {
|
||||||
ret.projects = JSON.parse(body);
|
ret.projects = JSON.parse(body);
|
||||||
|
|
Loading…
Reference in a new issue