mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 01:25:00 +02:00
UBERF-9724: Fix github functionality on 0.7 (#8554)
* UBERF-9724: Fix github functionality on 0.7 Signed-off-by: Andrey Sobolev <haiodo@gmail.com> * Fix exception for no social id for system account Signed-off-by: Andrey Sobolev <haiodo@gmail.com> --------- Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -9,9 +9,13 @@ import { initStatisticsContext, loadBrandingMap } from '@hcengineering/server-co
|
||||
import { join } from 'path'
|
||||
import config from './config'
|
||||
import { start } from './server'
|
||||
import { setMetadata } from '@hcengineering/platform'
|
||||
import serverToken from '@hcengineering/server-token'
|
||||
|
||||
// Load and inc startID, to have easy logs.
|
||||
|
||||
setMetadata(serverToken.metadata.Secret, config.ServerSecret)
|
||||
|
||||
const metricsContext = initStatisticsContext('github', {
|
||||
factory: () =>
|
||||
new MeasureMetricsContext(
|
||||
|
||||
Reference in New Issue
Block a user