Fix CLI client
This commit is contained in:
parent
015ecbd460
commit
6f201680d3
|
@ -1,7 +1,9 @@
|
|||
import { Logger } from "@util/Logger";
|
||||
import { createInterface, type ReadLine } from "readline";
|
||||
import { EventEmitter } from "events";
|
||||
import trpc from "@util/api/trpc";
|
||||
import gettRPC from "@util/api/trpc";
|
||||
|
||||
const trpc = gettRPC(process.env.CLI_FISHING_TOKEN as string);
|
||||
|
||||
// no typedefs :/
|
||||
const cliMd = require("cli-markdown").default;
|
||||
|
|
|
@ -10,7 +10,7 @@ export function gettRPC(token: string) {
|
|||
// url: "http://localhost:3000",
|
||||
// headers() {
|
||||
// return {
|
||||
// Authorization: apiToken
|
||||
// Authorization: token
|
||||
// };
|
||||
// }
|
||||
// }),
|
||||
|
|
Loading…
Reference in New Issue