Fix syntax error in Event.Create method
This commit is contained in:
@@ -13,7 +13,7 @@ public class Event
|
|||||||
|
|
||||||
public static Event Create<T>(T payload) where T : class => new Event
|
public static Event Create<T>(T payload) where T : class => new Event
|
||||||
{
|
{
|
||||||
Payload = JsonSerializer.Serialize<T>(payload);
|
Payload = JsonSerializer.Serialize<T>(payload),
|
||||||
PayloadType = payload.GetType().FullName!;
|
PayloadType = payload.GetType().FullName!
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user