mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-08 10:47:42 +02:00
UBERF-9015: Remove confusing SYSTEM_EMAIL env (#7548)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -14,6 +14,7 @@ import core, {
|
||||
MeasureContext,
|
||||
RateLimiter,
|
||||
Ref,
|
||||
systemAccountEmail,
|
||||
TxOperations
|
||||
} from '@hcengineering/core'
|
||||
import github, { GithubAuthentication, makeQuery, type GithubIntegration } from '@hcengineering/github'
|
||||
@@ -730,7 +731,7 @@ export class PlatformWorker {
|
||||
}
|
||||
await rateLimiter.add(async () => {
|
||||
const token = generateToken(
|
||||
config.SystemEmail,
|
||||
systemAccountEmail,
|
||||
{
|
||||
name: workspace
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user