mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-25 19:58:30 +03:00
Minor fixes (#307)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
4717598936
commit
a942f959cf
@ -6,7 +6,7 @@
|
||||
"build": "cross-env NODE_ENV=production webpack --stats-error-details",
|
||||
"analyze": "cross-env NODE_ENV=production webpack --json > stats.json",
|
||||
"show": "webpack-bundle-analyzer stats.json dist",
|
||||
"dev": "webpack serve --content-base public",
|
||||
"dev": "cross-env webpack serve --content-base public",
|
||||
"dev-server": "cross-env CLIENT=server webpack serve --content-base public",
|
||||
"start": "cross-env NODE_ENV=production webpack serve --content-base public",
|
||||
"preformat-svelte": "prettier -w src/**/*.svelte",
|
||||
|
@ -22,10 +22,10 @@ import {} from '@anticrm/core'
|
||||
|
||||
export const ids = mergeIds(contactId, contact, {
|
||||
channelProvider: {
|
||||
Email: '' as Ref<ChannelProvider>
|
||||
// Phone: '' as Ref<ChannelProvider>,
|
||||
// LinkedIn: '' as Ref<ChannelProvider>,
|
||||
// Twitter: '' as Ref<ChannelProvider>,
|
||||
Email: '' as Ref<ChannelProvider>,
|
||||
Phone: '' as Ref<ChannelProvider>,
|
||||
LinkedIn: '' as Ref<ChannelProvider>,
|
||||
Twitter: '' as Ref<ChannelProvider>
|
||||
// GitHub: '' as Ref<ChannelProvider>,
|
||||
// Telegram: '' as Ref<ChannelProvider>,
|
||||
},
|
||||
|
@ -242,7 +242,11 @@ export function start (transactorEndpoint: string, elasticUrl: string, minio: Cl
|
||||
await elastic.index(indexedDoc)
|
||||
}
|
||||
|
||||
res.status(200).send(id)
|
||||
res.status(200).send({
|
||||
id,
|
||||
contentType,
|
||||
size: data.length
|
||||
})
|
||||
}
|
||||
})
|
||||
// console.log(buffer.toString('base64'));
|
||||
|
Loading…
Reference in New Issue
Block a user