Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Project
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Coscine
backend
apis
Project
Commits
1fe9b66d
Commit
1fe9b66d
authored
May 20, 2021
by
Marcel Nellesen
Browse files
Options
Downloads
Patches
Plain Diff
Fixed return value (coscine/issues#1529)
parent
b271f8d8
No related branches found
No related tags found
2 merge requests
!148
Product/1442 project invite mngmnt
,
!146
Topic/1529 handle external user invitation
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Project/Controllers/ProjectController.cs
+1
-1
1 addition, 1 deletion
src/Project/Controllers/ProjectController.cs
with
1 addition
and
1 deletion
src/Project/Controllers/ProjectController.cs
+
1
−
1
View file @
1fe9b66d
...
@@ -757,7 +757,7 @@ namespace Coscine.Api.Project.Controllers
...
@@ -757,7 +757,7 @@ namespace Coscine.Api.Project.Controllers
_invitationModel
.
Delete
(
invitation
);
_invitationModel
.
Delete
(
invitation
);
return
Ok
(
$"User
{
user
.
Id
}
is now
{
role
.
DisplayName
}
of project
{
project
.
Id
}
."
);
return
NoContent
(
);
}
}
private
static
bool
IsValidEmail
(
string
email
)
private
static
bool
IsValidEmail
(
string
email
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment