[backend] Cleanup unused service references

This commit is contained in:
Laura Hausmann 2024-02-09 13:06:37 +01:00
parent dde377f41d
commit 19d6251a2a
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
2 changed files with 1 additions and 3 deletions

View file

@ -20,7 +20,6 @@ public class NoteService(
DatabaseContext db,
UserResolver userResolver,
IOptionsSnapshot<Config.InstanceSection> config,
UserService userSvc,
ActivityFetcherService fetchSvc,
ActivityDeliverService deliverSvc,
NoteRenderer noteRenderer,

View file

@ -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");