Skip to content

Commit 38d60fe

Browse files
committed
chore: fix merge conflicts
1 parent f0522f3 commit 38d60fe

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/backend/src/api/__tests__/M2MTokenApi.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,9 @@ describe('M2MToken', () => {
474474

475475
const jwtToken = await createSignedM2MJwt();
476476
await expect(m2mApi.verify({ token: jwtToken })).rejects.toThrow('Failed to resolve JWK during verification');
477+
});
478+
});
479+
477480
describe('list', () => {
478481
const machineId = 'mch_1xxxxxxxxxxxxx';
479482
const mockM2MTokenList = {

packages/backend/src/api/endpoints/M2MTokenApi.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import type { ClerkPaginationRequest } from '@clerk/shared/types';
2+
13
import { MachineTokenVerificationError, MachineTokenVerificationErrorCode } from '../../errors';
24
import { decodeJwt } from '../../jwt/verifyJwt';
35
import type { JwtMachineVerifyOptions } from '../../jwt/verifyMachineJwt';
@@ -6,11 +8,6 @@ import { isM2MJwt } from '../../tokens/machine';
68
import { joinPaths } from '../../util/path';
79
import { deprecated } from '../../util/shared';
810
import type { ClerkBackendApiRequestOptions, RequestFunction } from '../request';
9-
import type { ClerkPaginationRequest } from '@clerk/shared/types';
10-
11-
import { joinPaths } from '../../util/path';
12-
import { deprecated } from '../../util/shared';
13-
import type { ClerkBackendApiRequestOptions } from '../request';
1411
import type { PaginatedResourceResponse } from '../resources/Deserializer';
1512
import type { M2MToken } from '../resources/M2MToken';
1613
import { AbstractAPI } from './AbstractApi';

0 commit comments

Comments
 (0)