Skip to content

Commit

Permalink
Asserting that "multiplexSessions" is a boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed Jun 21, 2023
1 parent 5894e1a commit 8cd1ff1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/realm/src/app-services/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export class App<FunctionsFactoryType = DefaultFunctionsFactory, CustomDataType
if (timeout !== undefined) {
assert.number(timeout, "timeout");
}
assert.boolean(multiplexSessions, "multiplexSessions");
// TODO: This used getSharedApp in the legacy SDK, but it's failing AppTests
this.internal = binding.App.getUncachedApp(
{
Expand Down

0 comments on commit 8cd1ff1

Please sign in to comment.