Skip to content

Commit

Permalink
fix import path
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed May 9, 2024
1 parent 86d8df7 commit da0398b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/adapter-nextjs/src/auth/types.ts
@@ -1,5 +1,5 @@
import { ResourcesConfig } from 'aws-amplify';
import { NextRequest } from 'next/server';
import { NextRequest } from 'next/server.js';

import { NextServer } from '../types';

Expand Down
Expand Up @@ -5,7 +5,7 @@ import {
assertOAuthConfig,
assertTokenProviderConfig,
} from '@aws-amplify/core/internals/utils';
import { NextRequest } from 'next/server';
import { NextRequest } from 'next/server.js';
import { AuthError } from '@aws-amplify/auth';

import {
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-nextjs/src/oauth/types.ts
Expand Up @@ -3,7 +3,7 @@

import { AuthError, AuthProvider } from '@aws-amplify/auth';
import { ResourcesConfig } from 'aws-amplify';
import { NextRequest } from 'next/server';
import { NextRequest } from 'next/server.js';

import { NextServer } from '../types';

Expand Down
Expand Up @@ -3,7 +3,7 @@ import {
OAuthConfig,
decodeJWT,
} from '@aws-amplify/core';
import { NextRequest, NextResponse } from 'next/server';
import { NextRequest, NextResponse } from 'next/server.js';
import {
createKeyValueStorageFromCookieStorageAdapter,
validateState,
Expand Down

0 comments on commit da0398b

Please sign in to comment.