Add correct serialization for gateway user status
This commit is contained in:
parent
ce790b13ae
commit
c5f56cd7dd
@ -1,11 +1,13 @@
|
|||||||
using System.Collections.Generic;
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
using Myriad.Serialization;
|
||||||
using Myriad.Types;
|
using Myriad.Types;
|
||||||
|
|
||||||
namespace Myriad.Gateway
|
namespace Myriad.Gateway
|
||||||
{
|
{
|
||||||
public record GatewayStatusUpdate
|
public record GatewayStatusUpdate
|
||||||
{
|
{
|
||||||
|
[JsonConverter(typeof(JsonSnakeCaseStringEnumConverter))]
|
||||||
public enum UserStatus
|
public enum UserStatus
|
||||||
{
|
{
|
||||||
Online,
|
Online,
|
||||||
|
Loading…
Reference in New Issue
Block a user