From a702fdf9faef659e0e96233cb27092beb76d0f53 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Tue, 9 Jul 2024 10:38:21 +0200 Subject: [PATCH] chore: use correct import --- schema/handler.go | 10 +++------- schema/handler_test.go | 4 +--- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/schema/handler.go b/schema/handler.go index ff06bc8c43ef..fe2842b14a56 100644 --- a/schema/handler.go +++ b/schema/handler.go @@ -13,18 +13,14 @@ import ( "os" "strings" - "github.com/ory/x/otelx" - - "github.com/ory/x/pagination/migrationpagination" - - "github.com/ory/kratos/driver/config" - "github.com/julienschmidt/httprouter" "github.com/pkg/errors" "github.com/ory/herodot" - + "github.com/ory/kratos/driver/config" "github.com/ory/kratos/x" + "github.com/ory/x/otelx" + "github.com/ory/x/pagination/migrationpagination" ) type ( diff --git a/schema/handler_test.go b/schema/handler_test.go index eca595c7e5d4..615d8092269d 100644 --- a/schema/handler_test.go +++ b/schema/handler_test.go @@ -15,13 +15,11 @@ import ( "strings" "testing" - client "github.com/ory/kratos/internal/httpclient" - "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "github.com/ory/client-go" _ "github.com/ory/jsonschema/v3/fileloader" - "github.com/ory/kratos/driver/config" "github.com/ory/kratos/internal" "github.com/ory/kratos/schema"