S2S: Person: Fix bug in Accept{Create} handler

This commit is contained in:
Pere Lev 2024-08-08 15:25:27 +03:00
parent 88e96b019e
commit 1c993d3397
No known key found for this signature in database
GPG key ID: 5252C5C863E5E57D

View file

@ -310,8 +310,8 @@ personAccept now recipPersonID (Verse authorIdMsig body) accept = do
-- Discover Accept.result, before DB access since we might use HTTP
maybeRightResult <-
for (AP.acceptResult accept) $ \ luResult -> lift $ runExceptT $ do
let h = objUriAuthority $ AP.acceptObject accept
uResult = ObjURI h luResult
ObjURI h _ <- lift $ getActorURI authorIdMsig
let uResult = ObjURI h luResult
routeOrRemote <- parseFedURI uResult
bitraverse
(\ route -> do