Remove horizontal rules from response (and add #are!)

This commit is contained in:
Badri Sunderarajan 2021-02-25 15:41:09 +05:30
parent ced39b9328
commit 3b9204cdc5

View file

@ -80,13 +80,13 @@ app.post("/edcal", (req, res) => {
.join("\n")) .join("\n"))
res.send({ res.send({
response_type: "in_channel", response_type: "in_channel",
text: `--- text: `
#### Editorial Calendar #### Editorial Calendar #are
|Title|PP|Due Date|Publish Date|Status| |Title|PP|Due Date|Publish Date|Status|
|:----|:-|:-------|:-----------|:-----| |:----|:-|:-------|:-----------|:-----|
${articleTable} ${articleTable}
---`, `,
}) })
} else { } else {
res.send({ status: "ok", articles: articles.reverse() }) res.send({ status: "ok", articles: articles.reverse() })