diff --git a/src/services/grpc/api/v2/get-user-data.ts b/src/services/grpc/api/v2/get-user-data.ts index 3d54708..ef0436f 100644 --- a/src/services/grpc/api/v2/get-user-data.ts +++ b/src/services/grpc/api/v2/get-user-data.ts @@ -2,7 +2,7 @@ import { config } from '@/config-manager'; import type { CallContext } from 'nice-grpc'; import type { GetUserDataResponse, DeepPartial } from '@pretendonetwork/grpc/api/v2/get_user_data_rpc'; import type { Empty } from '@pretendonetwork/grpc/google/protobuf/empty'; -import type { AuthenticationCallContextExt } from '@/services/grpc/api/v1/authentication-middleware'; +import type { AuthenticationCallContextExt } from '@/services/grpc/api/v2/authentication-middleware'; export async function getUserData(_request: Empty, context: CallContext & AuthenticationCallContextExt): Promise> { // * This is asserted in authentication-middleware, we know this is never null diff --git a/src/services/grpc/api/v2/set-discord-connection-data.ts b/src/services/grpc/api/v2/set-discord-connection-data.ts index a1bda07..11a4065 100644 --- a/src/services/grpc/api/v2/set-discord-connection-data.ts +++ b/src/services/grpc/api/v2/set-discord-connection-data.ts @@ -1,7 +1,7 @@ import { Status, ServerError } from 'nice-grpc'; import type { CallContext } from 'nice-grpc'; import type { SetDiscordConnectionDataRequest, SetDiscordConnectionDataResponse } from '@pretendonetwork/grpc/api/v2/set_discord_connection_data_rpc'; -import type { AuthenticationCallContextExt } from '@/services/grpc/api/v1/authentication-middleware'; +import type { AuthenticationCallContextExt } from '@/services/grpc/api/v2/authentication-middleware'; export async function setDiscordConnectionData(request: SetDiscordConnectionDataRequest, context: CallContext & AuthenticationCallContextExt): Promise { // * This is asserted in authentication-middleware, we know this is never null diff --git a/src/services/grpc/api/v2/set-stripe-connection-data.ts b/src/services/grpc/api/v2/set-stripe-connection-data.ts index 04e0163..4000019 100644 --- a/src/services/grpc/api/v2/set-stripe-connection-data.ts +++ b/src/services/grpc/api/v2/set-stripe-connection-data.ts @@ -2,7 +2,7 @@ import { Status, ServerError } from 'nice-grpc'; import { PNID } from '@/models/pnid'; import type { CallContext } from 'nice-grpc'; import type { SetStripeConnectionDataRequest, SetStripeConnectionDataResponse } from '@pretendonetwork/grpc/api/v2/set_stripe_connection_data_rpc'; -import type { AuthenticationCallContextExt } from '@/services/grpc/api/v1/authentication-middleware'; +import type { AuthenticationCallContextExt } from '@/services/grpc/api/v2/authentication-middleware'; type StripeMongoUpdateScheme = { 'access_level'?: number; diff --git a/src/services/grpc/api/v2/update-email.ts b/src/services/grpc/api/v2/update-email.ts index 5498664..ce45ee6 100644 --- a/src/services/grpc/api/v2/update-email.ts +++ b/src/services/grpc/api/v2/update-email.ts @@ -7,7 +7,7 @@ import type { UpdateEmailRequest, UpdateEmailResponse } from '@pretendonetwork/grpc/api/v2/update_email_rpc'; -import type { AuthenticationCallContextExt } from '@/services/grpc/api/v1/authentication-middleware'; +import type { AuthenticationCallContextExt } from '@/services/grpc/api/v2/authentication-middleware'; export async function updateEmail( request: UpdateEmailRequest, diff --git a/src/services/grpc/api/v2/update-user-data.ts b/src/services/grpc/api/v2/update-user-data.ts index e24280b..26188b9 100644 --- a/src/services/grpc/api/v2/update-user-data.ts +++ b/src/services/grpc/api/v2/update-user-data.ts @@ -10,7 +10,7 @@ import type { DeepPartial } from '@pretendonetwork/grpc/api/v2/update_user_data_rpc'; import type { GetUserDataResponse } from '@pretendonetwork/grpc/api/v2/get_user_data_rpc'; -import type { AuthenticationCallContextExt } from '@/services/grpc/api/v1/authentication-middleware'; +import type { AuthenticationCallContextExt } from '@/services/grpc/api/v2/authentication-middleware'; export async function updateUserData( request: UpdateUserDataRequest,