diff options
Diffstat (limited to 'src/util/serialize.js')
-rw-r--r-- | src/util/serialize.js | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/util/serialize.js b/src/util/serialize.js index 9aa8b0c5..73a31374 100644 --- a/src/util/serialize.js +++ b/src/util/serialize.js @@ -1,5 +1,3 @@ -/** @format */ - export function serializeLink(thing) { const ret = {}; ret.name = thing.name; @@ -25,11 +23,10 @@ export function serializeImagePaths(original, {thumb}) { }; } -export function serializeCover( - thing, - pathFunction, - {serializeImagePaths, urls} -) { +export function serializeCover(thing, pathFunction, { + serializeImagePaths, + urls, +}) { const coverPath = pathFunction(thing, { to: urls.from('media.root').to, }); |