Skip to content
Snippets Groups Projects
Commit 15ee89aa authored by Hanna Führ's avatar Hanna Führ
Browse files

Fix

parent f62b1123
No related branches found
No related tags found
1 merge request!184Update: Adding ToS checkbox for gitlab
...@@ -10,14 +10,16 @@ namespace Coscine.Database.ReturnObjects ...@@ -10,14 +10,16 @@ namespace Coscine.Database.ReturnObjects
public int ProjectId { get; set; } public int ProjectId { get; set; }
public Uri RepoUrl { get; set; } public Uri RepoUrl { get; set; }
public string AccessToken { get; set; } public string AccessToken { get; set; }
public bool TosAccepted { get; set; } = false;
public GitlabResourceTypeObject(Guid id, string branchName, int projectId, string repoUrl, string accessToken) public GitlabResourceTypeObject(Guid id, string branchName, int projectId, string repoUrl, string accessToken, bool tosaccepted)
{ {
Id = id; Id = id;
Branch = branchName; Branch = branchName;
ProjectId = projectId; ProjectId = projectId;
RepoUrl = new Uri(repoUrl); RepoUrl = new Uri(repoUrl);
AccessToken = accessToken; AccessToken = accessToken;
TosAccepted = tosaccepted;
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment