Fix immediate TS errors
This commit is contained in:
parent
5fd41ad5a2
commit
df0dcf32f9
19 changed files with 81 additions and 71 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue