Skip to content

Commit

Permalink
🎨 Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeys818 committed Jul 13, 2023
1 parent 5760fd8 commit 84c0156
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions functions/src/tools/public-liked-songs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ interface Document {
}

export const create = onCall<Data>({ secrets }, async ({ data, auth }) => {
if (!auth)
throw new HttpsError('unauthenticated', 'User must be authenticated.')
if (!auth) throw new HttpsError('unauthenticated', 'User must be authenticated.')

const spotify = new Spotify({
clientId: process.env.SPOTIFY_CLIENT_ID,
Expand Down

0 comments on commit 84c0156

Please sign in to comment.