Skip to content

Commit

Permalink
Modify AuthController.js
Browse files Browse the repository at this point in the history
  • Loading branch information
moonelysian committed Dec 19, 2019
1 parent 95931ad commit e1a39db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/AuthController.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const jwt = require('jsonwebtoken')
const axios = require('axios')

const kakaoLogin = async function(req, res){
const access_token = req.headers['x-kakao_token']
const access_token = req.headers['x-kakao-token']

if (access_token) {
const userInfo = await getUserInfo(access_token)
Expand Down

0 comments on commit e1a39db

Please sign in to comment.