mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix lint
This commit is contained in:
@@ -12,9 +12,9 @@ const webhookData = {};
|
|||||||
|
|
||||||
app.use(bodyParser.urlencoded({
|
app.use(bodyParser.urlencoded({
|
||||||
extended: true,
|
extended: true,
|
||||||
limit: '10mb'
|
limit: '10mb',
|
||||||
}));
|
}));
|
||||||
app.use(bodyParser.json({limit: '10mb'}));
|
app.use(bodyParser.json({ limit: '10mb' }));
|
||||||
|
|
||||||
app.post('/webhooks/:id', (req, res) => {
|
app.post('/webhooks/:id', (req, res) => {
|
||||||
const { id } = req.params;
|
const { id } = req.params;
|
||||||
|
|||||||
Reference in New Issue
Block a user