mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
Merge pull request #12204 from ToolJet/environment-fixes/platform
environment fixes
This commit is contained in:
commit
ca2c0d8bd1
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