mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-28 09:04:50 +09:00
If an actor doesn't have SSH keys, don't list an "sshKey":[] property
This commit is contained in:
parent
1c56f63e86
commit
0be7f05d31
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ instance ActivityPub Actor where
|
|||
<> "outbox" .=? (ObjURI authority <$> outbox)
|
||||
<> "followers" .=? (ObjURI authority <$> followers)
|
||||
<> "publicKey" `pair` encodePublicKeySet authority pkeys
|
||||
<> "sshKey" .= map (ObjURI authority) skeys
|
||||
<> "sshKey" .=% map (ObjURI authority) skeys
|
||||
|
||||
data Repo u = Repo
|
||||
{ repoActor :: Actor u
|
||||
|
|
Loading…
Reference in a new issue