From 80b7812a870bc8f9d2bc0772c803c00ebb23276e Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 24 May 2025 22:59:05 +0800 Subject: [PATCH] :bug: Fixes on magic spell services --- DysonNetwork.Sphere/Account/MagicSpellService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DysonNetwork.Sphere/Account/MagicSpellService.cs b/DysonNetwork.Sphere/Account/MagicSpellService.cs index 5dd4120..8bd9a7f 100644 --- a/DysonNetwork.Sphere/Account/MagicSpellService.cs +++ b/DysonNetwork.Sphere/Account/MagicSpellService.cs @@ -101,7 +101,7 @@ public class MagicSpellService( var contactMethod = spell.Meta["contact_method"] as string; var contact = await db.AccountContacts.FirstOrDefaultAsync(c => - c.Account.Id == spell.AccountId && c.Content == contactMethod + c.Content == contactMethod ); if (contact is not null) {