This commit is contained in:
Leon Liang 2019-10-25 23:14:25 -04:00
parent d9f6fb5d8e
commit ec041732d9

View File

@ -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) {