Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/api/addTracks.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { NextApiRequest, NextApiResponse } from 'next'
import axios from 'axios'

const Hundler = async (req: NextApiRequest, res: NextApiResponse) => {
const Handler = async (req: NextApiRequest, res: NextApiResponse) => {
const body = req.body
const playListId = body.playListId
const uris = body.uris.uris
Expand Down Expand Up @@ -39,4 +39,4 @@ const addTracks = async(headers: {[key: string]: string}, playListId: string, ur
return response
}

export default Hundler
export default Handler
4 changes: 2 additions & 2 deletions pages/signIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Layout from '../components/Layout'
import { useRouter } from 'next/router'
import { useSession } from 'next-auth/react'

const SginIn: NextPage = () => {
const SignIn: NextPage = () => {
const router = useRouter()
const { data: session, status } = useSession()

Expand All @@ -28,4 +28,4 @@ const SginIn: NextPage = () => {
)
}

export default SginIn
export default SignIn