File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
components/server/src/liveness Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import express from "express";
99import { TypeORM } from "@gitpod/gitpod-db/lib" ;
1010import { SpiceDBClientProvider } from "../authorization/spicedb" ;
1111import { log } from "@gitpod/gitpod-protocol/lib/util/logging" ;
12- import { ReadSchemaRequest } from "@authzed/authzed-node/dist/src/v1 " ;
12+ import { v1 } from "@authzed/authzed-node" ;
1313import { getExperimentsClientForBackend } from "@gitpod/gitpod-protocol/lib/experiments/configcat-server" ;
1414import { Redis } from "ioredis" ;
1515
@@ -91,7 +91,7 @@ export class ReadinessController {
9191 const client = this . spiceDBClientProvider . getClient ( ) ;
9292
9393 // Send a request, to verify that the connection works
94- const req = ReadSchemaRequest . create ( { } ) ;
94+ const req = v1 . ReadSchemaRequest . create ( { } ) ;
9595 const response = await client . readSchema ( req ) ;
9696 log . debug ( "SpiceDB connection check successful" , { schemaLength : response . schemaText . length } ) ;
9797
You can’t perform that action at this time.
0 commit comments