We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45a829e commit a254602Copy full SHA for a254602
apps/webapp/app/v3/services/worker/workerGroupService.server.ts
@@ -18,7 +18,9 @@ export class WorkerGroupService extends WithRunEngine {
18
name?: string;
19
description?: string;
20
}) {
21
- name = name ?? (await this.generateWorkerName({ projectId }));
+ if (!name) {
22
+ name = await this.generateWorkerName({ projectId });
23
+ }
24
25
const tokenService = new WorkerGroupTokenService({
26
prisma: this._prisma,
0 commit comments