Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin edit #997

Merged
merged 5 commits into from
May 10, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint: err reassignment
  • Loading branch information
umputun committed May 10, 2021
commit ab29e7cbb83964f1d917e1e78c7892483655d7c1
2 changes: 1 addition & 1 deletion backend/app/store/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ func (s *DataStore) EditComment(locator store.Locator, commentID string, req Edi
return comment, err
}

if err = editAllowed(comment); err != nil {
if err := editAllowed(comment); err != nil {
return comment, err
}

Expand Down