🎨 Removed unused dependency injected services arguments in constructor

This commit is contained in:
2025-06-21 14:32:59 +08:00
parent eadf25f389
commit 1baa3109bc
12 changed files with 9 additions and 18 deletions

View File

@ -1,7 +1,6 @@
using System.ComponentModel.DataAnnotations;
using DysonNetwork.Sphere.Auth;
using DysonNetwork.Sphere.Permission;
using DysonNetwork.Sphere.Storage;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
@ -15,11 +14,9 @@ namespace DysonNetwork.Sphere.Account;
[Route("/accounts")]
public class AccountController(
AppDatabase db,
FileService fs,
AuthService auth,
AccountService accounts,
AccountEventService events,
MagicSpellService spells
AccountEventService events
) : ControllerBase
{
[HttpGet("{name}")]