Fix immediate TS errors

This commit is contained in:
Eric Bailey 2023-11-04 12:42:27 -05:00
parent 5fd41ad5a2
commit df0dcf32f9
19 changed files with 81 additions and 71 deletions

View file

@ -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(