codeuino / codeuino/social-platform-donut-backend

logout route at multiple places

Open
#198 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
24
Forks
58
PR merge metrics
No merged PRs in 30d

Description

**Describe the enhancement you'd like**
Currently, there are two logout routes and controllers which is certainly unnecessary!
https://github.com/codeuino/social-platform-donut-backend/blob/b59ccca19cd0f44ffe10e59da456cd3546be61df/app/routes/user.js#L76
https://github.com/codeuino/social-platform-donut-backend/blob/b59ccca19cd0f44ffe10e59da456cd3546be61df/app/routes/auth.js#L14

**Describe approaches if you have thought of any**
Remove any of those unless there's a valid reason to keep both. If we've to keep both, mention the same in code comments.

**Additional context**
NA

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.