mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 13:19:21 +00:00
import
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { Transport } from "@connectrpc/connect";
|
||||
import { Client, create, Duration } from "@zitadel/client";
|
||||
import { createServerTransport as libCreateServerTransport } from "@zitadel/client/node";
|
||||
import { makeReqCtx } from "@zitadel/client/v2";
|
||||
@@ -1503,7 +1502,7 @@ export async function listAuthenticationMethodTypes({
|
||||
export function createServerTransport(
|
||||
token: string,
|
||||
baseUrl: string,
|
||||
): Transport {
|
||||
) {
|
||||
return libCreateServerTransport(token, {
|
||||
baseUrl,
|
||||
interceptors: !process.env.CUSTOM_REQUEST_HEADERS
|
||||
|
Reference in New Issue
Block a user