Skip to content

Commit

Permalink
Fix typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
markspolakovs committed Jun 16, 2024
1 parent fdff8ae commit 4220aba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions desktop/src/main/base/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const OBSSettingsSchema = z.object({
loadContinuityItems: z.boolean().default(true),
loadAssets: z.boolean().default(false),
});
export type OBSSettings = z.infer<typeof OBSSettingsSchema>;

export async function getOBSSettings(): Promise<z.infer<
typeof OBSSettingsSchema
Expand Down
4 changes: 4 additions & 0 deletions desktop/src/main/obs/obs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,10 @@ export async function createOBSConnection(
host: obsHost,
password: obsPassword,
port: obsPort,
// FIXME[BDGR-170]
loadAssets: false,
loadRundownItems: false,
loadContinuityItems: true,
});
return obsConnection;
}
Expand Down

0 comments on commit 4220aba

Please sign in to comment.