You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Horde: Make it possible to clear issue owner
#jira none #rnx [CL 16941275 by Josh Engebretson in ue5-main branch]
This commit is contained in:
@@ -521,7 +521,7 @@ namespace HordeServer.Api
|
||||
public string? Summary { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// New user id for owner of the issue
|
||||
/// New user id for owner of the issue, can be cleared by passing empty string
|
||||
/// </summary>
|
||||
public string? OwnerId { get; set; }
|
||||
|
||||
|
||||
@@ -399,7 +399,7 @@ namespace HordeServer.Controllers
|
||||
ObjectId? NewOwnerId = null;
|
||||
if (Request.OwnerId != null)
|
||||
{
|
||||
NewOwnerId = new ObjectId(Request.OwnerId);
|
||||
NewOwnerId = Request.OwnerId.Length == 0 ? ObjectId.Empty : new ObjectId(Request.OwnerId);
|
||||
}
|
||||
|
||||
ObjectId? NewNominatedById = null;
|
||||
|
||||
Reference in New Issue
Block a user