excise entity framework from all remaining code
This commit is contained in:
parent
d6c3133d52
commit
ff92c5f335
62 changed files with 402 additions and 1339 deletions
|
|
@ -18,10 +18,10 @@ using System.Diagnostics.CodeAnalysis;
|
|||
using Catalogger.Backend.Cache;
|
||||
using Catalogger.Backend.Cache.InMemoryCache;
|
||||
using Catalogger.Backend.Extensions;
|
||||
using OneOf;
|
||||
using Remora.Discord.API;
|
||||
using Remora.Discord.API.Abstractions.Objects;
|
||||
using Remora.Discord.API.Abstractions.Rest;
|
||||
using Remora.Discord.API.Objects;
|
||||
using Remora.Rest.Core;
|
||||
using Guild = Catalogger.Backend.Database.Models.Guild;
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ public class WebhookExecutorService(
|
|||
}
|
||||
|
||||
var attachments = files
|
||||
.Select<FileData, OneOf.OneOf<FileData, IPartialAttachment>>(f => f)
|
||||
.Select<FileData, OneOf<FileData, IPartialAttachment>>(f => f)
|
||||
.ToList();
|
||||
|
||||
if (embeds.Count == 0 && attachments.Count == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue