Skip to content

Commit 20a4e53

Browse files
Merge pull request #141 from codesandbox/preview-hosts-auth
fix: Fix broken authorization in preview hosts
2 parents 957c257 + 71b38b4 commit 20a4e53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/commands/previewHosts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { createApiClient, handleResponse } from "../../utils/api";
55
import { getInferredApiKey } from "../../utils/constants";
66

77
const apiKey = getInferredApiKey();
8-
const apiClient = createApiClient("CLI", apiKey);
8+
const apiClient = createApiClient(apiKey);
99

1010
export const previewHostsCommand: yargs.CommandModule = {
1111
command: "preview-hosts",

0 commit comments

Comments
 (0)