diff options
author | Eric Bailey <git@esb.lol> | 2023-11-04 12:42:27 -0500 |
---|---|---|
committer | Eric Bailey <git@esb.lol> | 2023-11-04 12:42:27 -0500 |
commit | df0dcf32f99631c52b039c7f1934481924d37465 (patch) | |
tree | f190c6e24744b01be9a98c4a9e25282bf050a178 /src/lib/api | |
parent | 5fd41ad5a2734e1721a82134efe5487e818b790d (diff) | |
download | voidsky-df0dcf32f99631c52b039c7f1934481924d37465.tar.zst |
Fix immediate TS errors
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( |