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;
|
||||
|
||||
namespace Myriad.Gateway
|
||||
{
|
||||
public record GatewayStatusUpdate
|
||||
{
|
||||
[JsonConverter(typeof(JsonSnakeCaseStringEnumConverter))]
|
||||
public enum UserStatus
|
||||
{
|
||||
Online,
|
||||
|
Loading…
Reference in New Issue
Block a user