From a20d50f79313859689f356893d1d1086fc109bdc Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sat, 27 Apr 2024 20:17:39 +0200 Subject: [PATCH] [backend/federation] Improve logging regarding a renamed variable --- .../Core/Federation/ActivityPub/ActivityHandlerService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Iceshrimp.Backend/Core/Federation/ActivityPub/ActivityHandlerService.cs b/Iceshrimp.Backend/Core/Federation/ActivityPub/ActivityHandlerService.cs index 57f37af8..79363a50 100644 --- a/Iceshrimp.Backend/Core/Federation/ActivityPub/ActivityHandlerService.cs +++ b/Iceshrimp.Backend/Core/Federation/ActivityPub/ActivityHandlerService.cs @@ -42,10 +42,10 @@ public class ActivityHandlerService( var resolvedActor = await userResolver.ResolveAsync(activity.Actor.Id); if (authenticatedUserId == null) throw GracefulException - .UnprocessableEntity("Refusing to process activity without authFetchUserId"); + .UnprocessableEntity("Refusing to process activity without authenticatedUserId"); if (resolvedActor.Id != authenticatedUserId && authenticatedUserId != null) throw GracefulException - .UnprocessableEntity($"Authorized fetch user id {authenticatedUserId} doesn't match resolved actor id {resolvedActor.Id}"); + .UnprocessableEntity($"Authenticated user id {authenticatedUserId} doesn't match resolved actor id {resolvedActor.Id}"); if (new Uri(activity.Actor.Id).Host != new Uri(activity.Id).Host) throw GracefulException .UnprocessableEntity($"Activity identifier ({activity.Actor.Id}) host doesn't match actor identifier ({activity.Id}) host");