diff options
author | 2023-06-13 16:47:56 +0200 | |
---|---|---|
committer | 2023-06-13 15:47:56 +0100 | |
commit | 24fbdf2b0a820684b69b10893e82cdb1a76ca14d (patch) | |
tree | d44a092d0bffb8159e4844bfaf4ef84a82f41e2e /internal/gtscontext/log_hooks.go | |
parent | [docs] Add certificates and firewalling to advanced (#1888) (diff) | |
download | gotosocial-24fbdf2b0a820684b69b10893e82cdb1a76ca14d.tar.xz |
[chore] Refactor AP authentication, other small bits of tidying up (#1874)
Diffstat (limited to 'internal/gtscontext/log_hooks.go')
-rw-r--r-- | internal/gtscontext/log_hooks.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gtscontext/log_hooks.go b/internal/gtscontext/log_hooks.go index 94300cbb7..494ce1f63 100644 --- a/internal/gtscontext/log_hooks.go +++ b/internal/gtscontext/log_hooks.go @@ -36,7 +36,7 @@ func init() { }) // Public Key ID middleware hook. log.Hook(func(ctx context.Context, kvs []kv.Field) []kv.Field { - if id := PublicKeyID(ctx); id != "" { + if id := OutgoingPublicKeyID(ctx); id != "" { return append(kvs, kv.Field{K: "pubKeyID", V: id}) } return kvs |