mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-09-25 14:01:31 +02:00
add jsonconverter type
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using VoidCat.Model;
|
||||
using Newtonsoft.Json;
|
||||
using VoidCat.Model;
|
||||
using VoidCat.Services.Abstractions;
|
||||
using VoidCat.Services.Files;
|
||||
using VoidCat.Services.Paywall;
|
||||
@@ -143,6 +144,7 @@ public class MigrateToPostgres : IMigration
|
||||
|
||||
private record UploaderSecretVoidFileMeta : SecretVoidFileMeta
|
||||
{
|
||||
[JsonConverter(typeof(Base58GuidConverter))]
|
||||
public Guid? Uploader { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user