Skip to content

Commit

Permalink
fix: add fake endpoint and token for HamsterBase client
Browse files Browse the repository at this point in the history
  • Loading branch information
monster committed Jun 7, 2023
1 parent 8ae47f4 commit 82bae35
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ export class HamsterBaseHighlightService implements IHighlightService {
private token: string
) {
this.client = new HamsterBase({
endpoint: this.endpoint,
token: this.token,
// just prevent error
endpoint: this.endpoint || "endpoint",
token: this.token || "token",
requestLib: this.nativeService.workerRequest,
});
}
Expand Down

0 comments on commit 82bae35

Please sign in to comment.