chore: add csharpier to husky, format backend with csharpier
This commit is contained in:
parent
5fab66444f
commit
7f971e8549
73 changed files with 2098 additions and 1048 deletions
|
@ -7,13 +7,11 @@ public class AccountCreationMailable(Config config, AccountCreationMailableView
|
|||
{
|
||||
public override void Build()
|
||||
{
|
||||
To(view.To)
|
||||
.From(config.EmailAuth.From!)
|
||||
.View("~/Views/Mail/AccountCreation.cshtml", view);
|
||||
To(view.To).From(config.EmailAuth.From!).View("~/Views/Mail/AccountCreation.cshtml", view);
|
||||
}
|
||||
}
|
||||
|
||||
public class AccountCreationMailableView : BaseView
|
||||
{
|
||||
public required string Code { get; init; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,4 +4,4 @@ public abstract class BaseView
|
|||
{
|
||||
public required string BaseUrl { get; init; }
|
||||
public required string To { get; init; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue