mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-29 04:55:03 +02:00
UBERF-7011: Switch to Ref<Blob> (#5661)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -14,7 +14,8 @@ import core, {
|
||||
Space,
|
||||
TxOperations,
|
||||
WithLookup,
|
||||
generateId
|
||||
generateId,
|
||||
type Blob as PlatformBlob
|
||||
} from '@hcengineering/core'
|
||||
import { Message } from '@hcengineering/gmail'
|
||||
import recruit, { Applicant, Candidate, Vacancy } from '@hcengineering/recruit'
|
||||
@@ -561,7 +562,7 @@ export async function convert (
|
||||
const attachDoc: Attachment & BitrixSyncDoc = {
|
||||
_id: generateId(),
|
||||
bitrixId: `${blobRef.id}`,
|
||||
file: '', // Empty since not uploaded yet.
|
||||
file: '' as Ref<PlatformBlob>, // Empty since not uploaded yet.
|
||||
name: blobRef.id,
|
||||
size: -1,
|
||||
type: 'application/octet-stream',
|
||||
|
||||
Reference in New Issue
Block a user