📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP →

@chen572/easyspotify

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chen572/easyspotify - npm Package Compare versions

Comparing version

to
1.0.1

{
"name": "@chen572/easyspotify",
"version": "1.0.0",
"version": "1.0.1",
"description": "methods for spotify api and auth routes",

@@ -5,0 +5,0 @@ "main": "EasySpotify.js",

@@ -8,3 +8,3 @@ const express = require('express')

const { CLIENTID, CLIENTSECRET, REDIRECT_URI, SCOPES } = process.env
const { CLIENTID, CLIENTSECRET, REDIRECT_URI, SCOPES, URI_ROUTE } = process.env
const stateKey = 'spotify_auth_state'

@@ -40,3 +40,3 @@

Auth.get(REDIRECT_URI, (req, res) => {
Auth.get(URI_ROUTE, (req, res) => {
const code = req.query.code || null

@@ -43,0 +43,0 @@ const state = req.query.state || null