You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func (p*Plugin) updatePost(post*model.Post, issue*serializer.UpdateIssueRequest, w http.ResponseWriter) {
374
+
func (p*Plugin) updatePost(issue*serializer.UpdateIssueRequest, w http.ResponseWriter) {
374
375
post, appErr:=p.API.GetPost(issue.PostID)
375
376
ifappErr!=nil {
376
377
p.writeAPIError(w, &serializer.APIErrorResponse{ID: "", Message: fmt.Sprintf("failed to load the post %s", issue.PostID), StatusCode: http.StatusInternalServerError})
0 commit comments