Showing
1 changed file
with
0 additions
and
3 deletions
... | @@ -178,7 +178,6 @@ export const postGithubLogin = (req, res) => { | ... | @@ -178,7 +178,6 @@ export const postGithubLogin = (req, res) => { |
178 | res.redirect(`/users/${userId}`); | 178 | res.redirect(`/users/${userId}`); |
179 | }; | 179 | }; |
180 | 180 | ||
181 | -<<<<<<< HEAD | ||
182 | export const logout = (req,res)=>{ | 181 | export const logout = (req,res)=>{ |
183 | req.logout(); | 182 | req.logout(); |
184 | res.redirect("/"); | 183 | res.redirect("/"); |
... | @@ -194,9 +193,7 @@ const getRepos = async(req,res) =>{ | ... | @@ -194,9 +193,7 @@ const getRepos = async(req,res) =>{ |
194 | const firstRepoUrl = latelyRepos.[0].html_url; | 193 | const firstRepoUrl = latelyRepos.[0].html_url; |
195 | const secondRepoUrl = latelyRepos.[1].html_url; | 194 | const secondRepoUrl = latelyRepos.[1].html_url; |
196 | }; | 195 | }; |
197 | -======= | ||
198 | export const logout = (req, res) => { | 196 | export const logout = (req, res) => { |
199 | req.logout(); | 197 | req.logout(); |
200 | res.redirect("/"); | 198 | res.redirect("/"); |
201 | }; | 199 | }; |
202 | ->>>>>>> 29aa84017aef7f3207044abc818143e72cf33907 | ... | ... |
-
Please register or login to post a comment