mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 20:52:42 +01:00
✨ added dev server
This commit is contained in:
parent
5dd97905ab
commit
c2d696d66e
1007
package-lock.json
generated
1007
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -10,7 +10,8 @@
|
||||
"start": "npm run build:util && npm run build && node dist/start",
|
||||
"build": "tsc -b .",
|
||||
"build:util": "tsc -b ./node_modules/@fosscord/server-util/",
|
||||
"postinstall": "patch-package"
|
||||
"postinstall": "patch-package",
|
||||
"dev": "tsnd --respawn src/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -41,7 +42,7 @@
|
||||
"i18next-http-middleware": "^3.1.0",
|
||||
"i18next-node-fs-backend": "^2.1.3",
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
"lambert-server": "^1.0.10",
|
||||
"lambert-server": "^1.1.9",
|
||||
"missing-native-js-functions": "^1.2.6",
|
||||
"mongodb": "^3.6.4",
|
||||
"mongoose": "^5.12.3",
|
||||
@ -63,6 +64,7 @@
|
||||
"jest": "^26.6.3",
|
||||
"node-fetch": "^2.6.1",
|
||||
"ts-node": "^9.1.1",
|
||||
"ts-node-dev": "^1.1.6",
|
||||
"typescript": "^4.1.2"
|
||||
}
|
||||
}
|
||||
|
@ -34,5 +34,5 @@ router.post("/", check({ messages: [String] }), async (req, res) => {
|
||||
data: { ids: messages, channel_id, guild_id: channel.guild_id },
|
||||
} as MessageDeleteBulkEvent);
|
||||
|
||||
res.status(204).send();
|
||||
res.sendStatus(204);
|
||||
});
|
||||
|
@ -49,7 +49,7 @@ router.delete("/:id", async (req: Request, res: Response) => {
|
||||
guild_id: guild_id,
|
||||
} as GuildMemberRemoveEvent);
|
||||
|
||||
return res.status(204).send();
|
||||
return res.sendStatus(204);
|
||||
});
|
||||
|
||||
export default router;
|
||||
|
Loading…
Reference in New Issue
Block a user