Fix null cols

This commit is contained in:
2024-08-28 11:10:55 +01:00
parent d6b55aef00
commit 41d27b2bb2
2 changed files with 6 additions and 4 deletions

View File

@ -453,6 +453,8 @@ public class NostrController : Controller
{
PubKey = userPubkey,
State = UserStreamState.Planned,
EdgeIp = string.Empty,
ForwardClientId = string.Empty
};
newStream.PatchStream(req.Event);
var ev = _eventBuilder.CreateStreamEvent(newStream);

View File

@ -54,7 +54,7 @@ public class UserStream
public string? Thumbnail { get; set; }
public Guid? EndpointId { get; set; }
public IngestEndpoint? Endpoint { get; init; } = null!;
public IngestEndpoint? Endpoint { get; init; }
/// <summary>
/// Publisher edge IP