chore(deps): update dependency eslint-plugin-unicorn to v72 (#30092)
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
1 parent
ce022233ae
commit
aa08dad1f5
27 files changed
+144
-149
No files matched your search
@@ -172,7 +172,7 @@ export const mimeTypes = {
|
||||
return AssetType.Image;
|
||||
}
|
||||
|
||||
if (contentType.startsWith('video/') || contentType === 'application/mxf') {
|
||||
if (contentType === 'application/mxf' || contentType.startsWith('video/')) {
|
||||
return AssetType.Video;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ type Impossible<K extends keyof any> = {
|
||||
type Exact<T, U extends T = T> = U & Impossible<Exclude<keyof U, keyof T>>;
|
||||
|
||||
export const fromAck = (ack: string): SyncAck => {
|
||||
const [type, updateId, extraId] = ack.split('|');
|
||||
const [type, updateId, extraId] = ack.split('|', 3);
|
||||
return { type: type as SyncEntityType, updateId, extraId };
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user