Skip to content

Commit

Permalink
Updated reference to JSON web token package
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrutland committed Sep 3, 2022
1 parent a3d1345 commit 128518c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/routes/auth/+server.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import {error, json} from '@sveltejs/kit'
import {OAuth2Client} from 'google-auth-library'
import {sign, verify} from 'jsonwebtoken'
import jsonwebtoken from 'jsonwebtoken'
import {getConfig} from '$lib/config'

const { verify, sign } = jsonwebtoken

const COOKIE_NAME = 'harmony_token'

/** @type {import('./$types').RequestHandler} */
Expand Down

0 comments on commit 128518c

Please sign in to comment.