Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit 7b21dc6

Browse files
authored
Merge pull request #668 from fabscale/fn/object-assign
chore: Use `Object.assign` instead of `assign`
2 parents 47e091b + 88c41bd commit 7b21dc6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

addon-test-support/helpers/create-jwt-token.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import { assign } from '@ember/polyfills';
2-
31
export function createJWTToken(payload: Record<string, any>): string {
42
let header = {
53
alg: 'RS256',
64
};
75

8-
let data = assign(
6+
let data = Object.assign(
97
{
108
exp: Math.round(+new Date() / 1000) + 3600,
119
iat: Math.round(+new Date() / 1000),

0 commit comments

Comments
 (0)