Skip to content

Open-source status page, incident response and uptime monitoring

🚑 fix tb

Thibault Le Ouay9fea6ca34743
diff --git a/packages/tinybird/src/os-client.ts b/packages/tinybird/src/os-client.ts
index bc15dc1f1..d329f0e58 100644
--- a/packages/tinybird/src/os-client.ts
+++ b/packages/tinybird/src/os-client.ts
@@ -47,7 +47,7 @@ export class OSTinybird {
// FIXME: use Tinybird instead with super(args) maybe
// how about passing here the `opts: {revalidate}` to access it within the functions?
constructor(private args: { token: string; baseUrl?: string | undefined }) {
- if (process.env.NODE_ENV !== "development") {
+ if (process.env.NODE_ENV === "development") {
this.tb = new NoopTinybird();
} else {
this.tb = new Tinybird(args);