We now are appending the users name to who wrote the comment. Rather than it being unknown

pull/13/head
tidusjar 9 years ago
parent 9ef618af4b
commit a734755ede

@ -156,7 +156,10 @@ namespace PlexRequests.UI.Modules
return Response.AsJson(new JsonResponseModel { Result = false, Message = "Could not add issue, please try again or contact the administrator!" }); return Response.AsJson(new JsonResponseModel { Result = false, Message = "Could not add issue, please try again or contact the administrator!" });
} }
originalRequest.Issues = issue; originalRequest.Issues = issue;
originalRequest.OtherMessage = comment; originalRequest.OtherMessage = string.IsNullOrEmpty(comment)
? $"{Session[SessionKeys.UsernameKey]} - {comment}"
: string.Empty;
var result = Service.Update(originalRequest); var result = Service.Update(originalRequest);
if (result) if (result)

Loading…
Cancel
Save