Inject the correct ILogger into APService
This commit is contained in:
parent
7f8d2e2012
commit
31daa063d3
1 changed files with 1 additions and 1 deletions
|
@ -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'");
|
||||
|
|
Loading…
Add table
Reference in a new issue