Update /edcal slash command to use actual name
This commit is contained in:
parent
8626909ade
commit
42bd4de7ad
2 changed files with 2 additions and 1 deletions
|
@ -2,3 +2,4 @@ SNIPBOT_PORT=5000
|
|||
SNIPBOT_AIRTABLE_API_KEY=YOUR_API_KEY
|
||||
SNIPBOT_AIRTABLE_BASE_ID=YOUR_AIRTABLE_BASE_ID
|
||||
SNIPBOT_AIRTABLE_ENDPOINT=https://api.airtable.com
|
||||
SNIPBOT_MATTERMOST_TOKEN=YOUR_SLASH_COMMAND_TOKEN
|
||||
|
|
2
index.js
2
index.js
|
@ -32,7 +32,7 @@ app.post("/add", (req, res) => {
|
|||
res.send({ result: a + b })
|
||||
})
|
||||
|
||||
app.get("/articles", (req, res) => {
|
||||
app.post("/edcal", (req, res) => {
|
||||
let articles = []
|
||||
|
||||
base('Articles').select({
|
||||
|
|
Loading…
Reference in a new issue