Skip to content

Commit

Permalink
Sets default test to true
Browse files Browse the repository at this point in the history
  • Loading branch information
pierredge committed Feb 3, 2024
1 parent 7e2cde6 commit d92e45e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client-js/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export class Onedoc {
}

async render(document: DocumentInput ) {

const assets = [
...(document.assets || []),
{
Expand All @@ -115,7 +115,7 @@ export class Onedoc {
},
];

const test : boolean = document.test ? document.test : false;
const test : boolean = document.test ? document.test : true;
const save : boolean = document.save ? document.save : false;
const expiresIn:number = document.expiresIn ? document.expiresIn : 1;

Expand Down

0 comments on commit d92e45e

Please sign in to comment.