mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2025-12-15 18:08:46 +00:00
reformat
This commit is contained in:
parent
d9f6fb5d8e
commit
ec041732d9
@ -34,7 +34,6 @@ exports.getAllTopics = (req, res) => {
|
||||
};
|
||||
|
||||
exports.deleteTopic = (req, res) => {
|
||||
// TODO: handle add and delete by topic id
|
||||
const topic = db.doc(`/topics/${req.params.topicId}`);
|
||||
topic.get().then((doc) => {
|
||||
if (!doc.exists) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user