mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-13 05:37:44 +02:00
api/core: fix typo
This commit is contained in:
@ -101,7 +101,7 @@ export function runAPI(express, app, __dirname) {
|
||||
})
|
||||
|
||||
app.use('/', express.json({ limit: 1024 }));
|
||||
app.use('/post', (err, _, res, next) => {
|
||||
app.use('/', (err, _, res, next) => {
|
||||
if (err) {
|
||||
const { status, body } = createResponse("error", {
|
||||
code: "error.body_invalid",
|
||||
|
Reference in New Issue
Block a user