Skip to content

Commit

Permalink
Fix missing return (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzei authored Jan 24, 2019
1 parent 41d6d15 commit 5c62e89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ func (p *Plugin) ServeHTTP(c *plugin.Context, w http.ResponseWriter, r *http.Req
errorMessage := "Failed to create post"
p.postHTTPDebugMessage(errorMessage)
http.Error(w, errorMessage, http.StatusInternalServerError)
return
}

user, appErr := p.API.GetUserByUsername(config.UserName)
Expand Down

0 comments on commit 5c62e89

Please sign in to comment.