add back lost packString
The patch that removed it did not break anything, since the strings it's used on are all ASCII not unicode. But I like making sure to use packString everywhere just in case the code later changes in a way that needs it.
This commit is contained in:
parent
ca596e7c54
commit
a314a8dfd0
1 changed files with 1 additions and 1 deletions
|
@ -446,7 +446,7 @@ transfer_list = stat desc $ nojson $ lift $ do
|
|||
, maybe (fromUUID $ transferUUID t) Remote.name $
|
||||
M.lookup (transferUUID t) uuidmap
|
||||
]
|
||||
jsonify t i = object $
|
||||
jsonify t i = object $ map (\(k, v) -> (textKey (packString k), v)) $
|
||||
[ ("transfer", toJSON' (formatDirection (transferDirection t)))
|
||||
, ("key", toJSON' (transferKey t))
|
||||
, ("file", toJSON' (fromRawFilePath <$> afile))
|
||||
|
|
Loading…
Add table
Reference in a new issue