Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
yordis committed Jun 10, 2024
1 parent 13199d1 commit de4180a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions apps/login/src/lib/zitadel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ const SESSION_LIFETIME_S = 3000;

const transport = createServerTransport(
process.env.ZITADEL_SERVICE_USER_TOKEN!,
{
baseUrl: process.env.ZITADEL_API_URL!,
httpVersion: "2",
},
{baseUrl: process.env.ZITADEL_API_URL!},
);

export const sessionService = createSessionServiceClient(transport);
Expand Down
2 changes: 1 addition & 1 deletion packages/zitadel-node/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NewAuthorizationBearerInterceptor } from "@zitadel/client2";
// import {
// createGrpcWebTransport,
// GrpcTransportOptions,
// GrpcWebTransportOptions,
// } from "@connectrpc/connect-node";
import { createGrpcWebTransport, GrpcWebTransportOptions } from "@connectrpc/connect-web";
import { importPKCS8, SignJWT } from "jose";
Expand Down

0 comments on commit de4180a

Please sign in to comment.