Skip to content

Commit b4b00e0

Browse files
committed
chore: try to get clerk running
1 parent abe2e37 commit b4b00e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cloud/connector/iframe/iframe-fpcc-protocol.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
isResCloudDbTokenBound,
2626
} from "@fireproof/core-protocols-dashboard";
2727
import { TokenAndSelectedTenantAndLedger } from "@fireproof/core-types-protocols-cloud";
28-
import { ClerkFPCCEvtEntity } from "./clerk-fpcc-evt-entity.js";
28+
import { ClerkFPCCEvtEntity, clerkSvc } from "./clerk-fpcc-evt-entity.js";
2929

3030
export interface IframeFPCCProtocolOpts {
3131
readonly dashboardURI: string;
@@ -389,6 +389,7 @@ export class IframeFPCCProtocol implements FPCCProtocol {
389389
}
390390

391391
async ready(): Promise<FPCCProtocol> {
392+
await clerkSvc(this.dashApi);
392393
await this.fpccProtocol.ready();
393394
this.fpccProtocol.onFPCCMessage(this.handleFPCCMessage);
394395
return this;

0 commit comments

Comments
 (0)