S2S: Person: Fix bug in Accept{Create} handler
This commit is contained in:
parent
88e96b019e
commit
1c993d3397
1 changed files with 2 additions and 2 deletions
|
@ -310,8 +310,8 @@ personAccept now recipPersonID (Verse authorIdMsig body) accept = do
|
||||||
-- Discover Accept.result, before DB access since we might use HTTP
|
-- Discover Accept.result, before DB access since we might use HTTP
|
||||||
maybeRightResult <-
|
maybeRightResult <-
|
||||||
for (AP.acceptResult accept) $ \ luResult -> lift $ runExceptT $ do
|
for (AP.acceptResult accept) $ \ luResult -> lift $ runExceptT $ do
|
||||||
let h = objUriAuthority $ AP.acceptObject accept
|
ObjURI h _ <- lift $ getActorURI authorIdMsig
|
||||||
uResult = ObjURI h luResult
|
let uResult = ObjURI h luResult
|
||||||
routeOrRemote <- parseFedURI uResult
|
routeOrRemote <- parseFedURI uResult
|
||||||
bitraverse
|
bitraverse
|
||||||
(\ route -> do
|
(\ route -> do
|
||||||
|
|
Loading…
Reference in a new issue