mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
i guess this was my first rodeo
This commit is contained in:
parent
824899760a
commit
444d4a69eb
1 changed files with 1 additions and 4 deletions
|
|
@ -50,10 +50,7 @@ interface StorageEvent {
|
|||
}
|
||||
|
||||
function isStorageEvent(event: any): event is StorageEvent {
|
||||
if ('name' in event && 'bucket' in event && 'contentType' in event) {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
return 'name' in event && 'bucket' in event && 'contentType' in event
|
||||
}
|
||||
|
||||
const shouldHandle = (data: StorageEvent) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue