diff options
Diffstat (limited to 'src/lib/api')
-rw-r--r-- | src/lib/api/index.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/api/index.ts b/src/lib/api/index.ts index f930bd7b1..f75ebbd96 100644 --- a/src/lib/api/index.ts +++ b/src/lib/api/index.ts @@ -178,10 +178,9 @@ export async function post(store: RootStoreModel, opts: PostOpts) { ) { encoding = 'image/jpeg' } else { - store.log.warn( - 'Unexpected image format for thumbnail, skipping', - opts.extLink.localThumb.path, - ) + store.log.warn('Unexpected image format for thumbnail, skipping', { + thumbnail: opts.extLink.localThumb.path, + }) } if (encoding) { const thumbUploadRes = await uploadBlob( |