Skip to content

Commit 71f694f

Browse files
committed
formatting issues
1 parent daff42c commit 71f694f

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

_apidoc.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
*
212212
* @apiError (Error 500) err Error message if there was an error during the deletion.
213213
*
214-
* */
214+
* */
215215

216216
/**
217217
* @api {post} /infrastructure/update Update infrastructure details
@@ -273,7 +273,7 @@
273273
*
274274
* @apiError (Error 500) err Error message if there was an error during the deletion.
275275
*
276-
* */
276+
* */
277277

278278
/**
279279
* @api {post} /accreditation/update update accreditation details
@@ -359,7 +359,7 @@
359359
*
360360
* @apiError (Error 500) err Error message if there was an error during the deletion.
361361
*
362-
* */
362+
* */
363363
/**
364364
* @api {post} /tutorial/update Update tutorial details
365365
* @apiName UpdateTutorial
@@ -470,7 +470,7 @@
470470
*
471471
* @apiError (Error 500) err Error while deleting from DB.
472472
*
473-
* */
473+
* */
474474

475475
/**
476476
* @api {post} /department/update Update department

app.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@ app.use(cors());
3131
app.use(express.json());
3232
app.use(express.urlencoded({ extended: false }));
3333
app.use(cookieParser());
34-
app.use(
35-
morgan(
36-
":remote-addr - :remote-user \":method :url HTTP/:http-version\" :status \":referrer\" \":user-agent\"",
37-
{ stream: logger.stream },
38-
),
39-
);
34+
app.use(morgan(
35+
":remote-addr - :remote-user \":method :url HTTP/:http-version\" :status \":referrer\" \":user-agent\"",
36+
{ stream: logger.stream },
37+
));
4038

4139
app.use(express.static(path.join(currDirName, "public")));
4240

0 commit comments

Comments
 (0)