🐛 Fix magic spell use wrong url
This commit is contained in:
@@ -79,7 +79,7 @@ public class MagicSpellService(
|
|||||||
.FirstOrDefaultAsync();
|
.FirstOrDefaultAsync();
|
||||||
if (contact is null) throw new ArgumentException("Account has no contact method that can use");
|
if (contact is null) throw new ArgumentException("Account has no contact method that can use");
|
||||||
|
|
||||||
var link = $"{configuration.GetValue<string>("BaseUrl")}/spells/{Uri.EscapeDataString(spell.Spell)}";
|
var link = $"{configuration.GetValue<string>("SiteUrl")}/spells/{Uri.EscapeDataString(spell.Spell)}";
|
||||||
|
|
||||||
logger.LogInformation("Sending magic spell... {Link}", link);
|
logger.LogInformation("Sending magic spell... {Link}", link);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user