mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 16:27:22 +00:00
Support any format from rekoni service (#922)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
ab911cb3f0
commit
9fefef5d4a
@ -21,6 +21,8 @@ export interface ReconiDocument {
|
|||||||
lastName: string
|
lastName: string
|
||||||
title?: string
|
title?: string
|
||||||
avatar?: string
|
avatar?: string
|
||||||
|
avatarName?: string
|
||||||
|
avatarFormat?: string
|
||||||
email?: string
|
email?: string
|
||||||
phone?: string
|
phone?: string
|
||||||
city?: string
|
city?: string
|
||||||
|
@ -163,7 +163,7 @@
|
|||||||
while (n--) {
|
while (n--) {
|
||||||
u8arr[n] = data.charCodeAt(n)
|
u8arr[n] = data.charCodeAt(n)
|
||||||
}
|
}
|
||||||
avatar = new File([u8arr], 'avatar.png', { type: 'image/png' })
|
avatar = new File([u8arr], doc.avatarName ?? 'avatar.png', { type: doc.avatarFormat ?? 'image/png' })
|
||||||
}
|
}
|
||||||
|
|
||||||
const newChannels = [...channels]
|
const newChannels = [...channels]
|
||||||
|
Loading…
Reference in New Issue
Block a user