mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
chore(deps): update dependency eslint-plugin-unicorn to v72 (#30092)
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
parent
ce022233ae
commit
aa08dad1f5
27 changed files with 144 additions and 149 deletions
|
|
@ -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 };
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue