Fix comment

This commit is contained in:
Lauris BH 2018-06-19 16:16:02 +03:00 committed by GitHub
parent c528505c6d
commit 7dc237c7aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,7 +192,7 @@ func CreateIssue(ctx *context.APIContext, form api.CreateIssueOption) {
return
}
} else {
// setting labels is only allowed if user is writter
// setting labels is not allowed if user is not a writer
form.Labels = make([]int64, 0)
}