We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa8e05f commit ee32796Copy full SHA for ee32796
server/api/application/application.controller.js
@@ -54,6 +54,7 @@ ApplicationController.prototype = {
54
create: function (req, res) {
55
var self = this;
56
req.body['ownerId'] = req.user._id;
57
+ req.body['repoName'] = req.user.repos[0];
58
req.body['clientId'] = this.model.generateRandomObjectId();
59
req.body['clientSecret'] = this.model.generateRandomObjectId();
60
server/api/application/application.model.js
@@ -28,6 +28,7 @@ var ApplicationDefinition = {
28
},
29
description: String,
30
ownerId: String,
31
+ repoName: String,
32
clientId: String,
33
clientSecret: String,
34
jwtExpiration: {
0 commit comments