Added comments
This commit is contained in:
@@ -14,9 +14,12 @@ app.post('/api/v1/user/new', (req, res) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// Text Routes
|
// Text Routes
|
||||||
|
// Add a new text
|
||||||
app.post('/api/v1/text/new', (req, res) => {
|
app.post('/api/v1/text/new', (req, res) => {
|
||||||
res.send('Create new text')
|
res.send('Create new text')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Queue a text for sending
|
||||||
app.post('/api/v1/text/queue', (req, res) => {
|
app.post('/api/v1/text/queue', (req, res) => {
|
||||||
res.send('Queue text')
|
res.send('Queue text')
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user