Inject the correct ILogger into APService

This commit is contained in:
Laura Hausmann 2024-01-25 03:31:54 +01:00
parent 7f8d2e2012
commit 31daa063d3
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -3,7 +3,7 @@ using Iceshrimp.Backend.Core.Services;
namespace Iceshrimp.Backend.Core.Federation.ActivityPub;
public class APService(ILogger<APFetchService> logger, NoteService noteSvc) {
public class APService(ILogger<APService> logger, NoteService noteSvc) {
public async Task PerformActivity(ASActivity activity, string? inboxUserId) {
logger.LogDebug("Processing activity: {activity}", activity.Id);
if (activity.Actor == null) throw new Exception("Cannot perform activity as actor 'null'");