mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 01:18:23 +00:00
environment fixes
This commit is contained in:
parent
f472938a05
commit
1523c05d26
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ export class AppEnvironmentService implements IAppEnvironmentService {
|
|||
async init(editingVersionId: string, organizationId: string): Promise<IAppEnvironmentResponse> {
|
||||
return await dbTransactionWrap(async (manager: EntityManager) => {
|
||||
const editorVersion = await manager.findOne(AppVersion, {
|
||||
select: ['id', 'name', 'appId'],
|
||||
select: ['id', 'name', 'currentEnvironmentId', 'appId'],
|
||||
where: { id: editingVersionId },
|
||||
});
|
||||
return await this.appEnvironmentUtilService.init(editorVersion, organizationId, false, manager);
|
||||
|
|
|
|||
Loading…
Reference in a new issue