mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-08 06:00:50 -07:00
We now are appending the users name to who wrote the comment. Rather than it being unknown
This commit is contained in:
parent
9ef618af4b
commit
a734755ede
1 changed files with 4 additions and 1 deletions
|
@ -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!" });
|
||||
}
|
||||
originalRequest.Issues = issue;
|
||||
originalRequest.OtherMessage = comment;
|
||||
originalRequest.OtherMessage = string.IsNullOrEmpty(comment)
|
||||
? $"{Session[SessionKeys.UsernameKey]} - {comment}"
|
||||
: string.Empty;
|
||||
|
||||
|
||||
var result = Service.Update(originalRequest);
|
||||
if (result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue