Skip to content

Commit

Permalink
Fixes error 500 when trying to create a User or na Organization project
Browse files Browse the repository at this point in the history
  • Loading branch information
DefinitelyADev committed May 4, 2020
1 parent ee404ec commit 7eb8846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func GetProjectsConfig() []ProjectsConfig {
// IsProjectTypeValid checks if a project typeis valid
func IsProjectTypeValid(p ProjectType) bool {
switch p {
case ProjectTypeRepository:
case ProjectTypeRepository, ProjectTypeIndividual, ProjectTypeOrganization:
return true
default:
return false
Expand Down

0 comments on commit 7eb8846

Please sign in to comment.