Skip to content

Commit

Permalink
🛠 Fix node build (#1846)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomaricMourgues authored Dec 22, 2021
1 parent 3cedad2 commit 224f83d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions twake/backend/node/src/cli/cmds/migration_cmds/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ export const importDepreciatedDisplayFields = (
let display = application.display;

if (!display?.twake) {
display = display || { twake: { version: 1 } };
display.twake = display.twake || { version: 1 };
display = display || { twake: {} };
display.twake = display.twake || {};
}

display.twake.tab = depreciatedDisplay?.channel_tab
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
ResourceUpdateResponse,
} from "../../../../utils/types";
import Application, { PublicApplicationObject } from "../../entities/application";
import { PublicApplication } from "../../entities/application";
import { RealtimeServiceAPI } from "../../../../core/platform/services/realtime/api";
import { CompanyExecutionContext } from "../types";
import { ApplicationServiceAPI } from "../../api";
Expand Down

0 comments on commit 224f83d

Please sign in to comment.