Skip to content

Commit 24bb6c1

Browse files
committed
chore: fix lint
Signed-off-by: Mouad BANI <mouad-mb@outlook.com>
1 parent a536c7f commit 24bb6c1

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

backend/src/api/public/v1/packages/getPackage.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { createHash } from 'crypto'
2-
32
import type { Request, Response } from 'express'
43

54
import { NotFoundError } from '@crowd/common'

backend/src/db/packagesTemporal.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Client, Connection, getDataConverter } from '@crowd/temporal'
21
import { IS_DEV_ENV, SERVICE } from '@crowd/common'
2+
import { Client, Connection, getDataConverter } from '@crowd/temporal'
33

44
import { PACKAGES_TEMPORAL_CONFIG } from '@/conf'
55

@@ -11,9 +11,7 @@ let _init: Promise<Client> | undefined
1111
export function getPackagesTemporalClient(): Promise<Client> {
1212
if (!_init) {
1313
if (!PACKAGES_TEMPORAL_CONFIG?.serverUrl) {
14-
throw new Error(
15-
'Packages Temporal is not configured — set CROWD_PACKAGES_TEMPORAL_NAMESPACE',
16-
)
14+
throw new Error('Packages Temporal is not configured — set CROWD_PACKAGES_TEMPORAL_NAMESPACE')
1715
}
1816

1917
const cfg = PACKAGES_TEMPORAL_CONFIG

0 commit comments

Comments
 (0)