Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/commands/apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
getAppsAndFolders,
} from "../utils/apps";
import type { App } from "../utils/apps";
import { getAndVerifyCredentialsWithRetoolDB } from "../utils/credentials";
import { getAndVerifyCredentials, getAndVerifyCredentialsWithRetoolDB } from "../utils/credentials";
import { dateOptions } from "../utils/date";
import {
collectTableName,
Expand Down Expand Up @@ -52,7 +52,9 @@ const builder: CommandModule["builder"] = {
},
};
const handler = async function (argv: any) {
const credentials = await getAndVerifyCredentialsWithRetoolDB();
const credentials = argv.t
? await getAndVerifyCredentialsWithRetoolDB()
: await getAndVerifyCredentials();
// fire and forget
void logDAU(credentials);

Expand Down
4 changes: 2 additions & 2 deletions src/commands/workflows.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { CommandModule } from "yargs";

import { getAndVerifyCredentialsWithRetoolDB } from "../utils/credentials";
import { getAndVerifyCredentials } from "../utils/credentials";
import { dateOptions } from "../utils/date";
import { logDAU } from "../utils/telemetry";
import {
Expand Down Expand Up @@ -29,7 +29,7 @@ const builder: CommandModule["builder"] = {
},
};
const handler = async function (argv: any) {
const credentials = await getAndVerifyCredentialsWithRetoolDB();
const credentials = await getAndVerifyCredentials();
// fire and forget
void logDAU(credentials);

Expand Down