mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-01-11 15:48:47 +08:00
format:format and fix code
This commit is contained in:
@@ -38,7 +38,7 @@ app.use((req, res, next) => {
|
||||
|
||||
app.use("/", routes);
|
||||
|
||||
const initializeGlobalSettings = async () => {
|
||||
const initializeGlobalSettings = async (): Promise<void> => {
|
||||
const settings = await GlobalSetting.findOne();
|
||||
if (!settings) {
|
||||
await GlobalSetting.create({
|
||||
|
||||
Reference in New Issue
Block a user