[backend] Cleanup unused service references
This commit is contained in:
parent
dde377f41d
commit
19d6251a2a
2 changed files with 1 additions and 3 deletions
|
@ -20,7 +20,6 @@ public class NoteService(
|
|||
DatabaseContext db,
|
||||
UserResolver userResolver,
|
||||
IOptionsSnapshot<Config.InstanceSection> config,
|
||||
UserService userSvc,
|
||||
ActivityFetcherService fetchSvc,
|
||||
ActivityDeliverService deliverSvc,
|
||||
NoteRenderer noteRenderer,
|
||||
|
|
|
@ -20,8 +20,7 @@ public class UserService(
|
|||
IOptions<Config.InstanceSection> instance,
|
||||
ILogger<UserService> logger,
|
||||
DatabaseContext db,
|
||||
ActivityFetcherService fetchSvc,
|
||||
IDistributedCache cache
|
||||
ActivityFetcherService fetchSvc
|
||||
) {
|
||||
private (string Username, string? Host) AcctToTuple(string acct) {
|
||||
if (!acct.StartsWith("acct:")) throw new GracefulException(HttpStatusCode.BadRequest, "Invalid query");
|
||||
|
|
Loading…
Add table
Reference in a new issue