lieko-express 1.0.2 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lieko-express.js +4 -0
- package/package.json +1 -1
package/lieko-express.js
CHANGED
|
@@ -1610,6 +1610,10 @@ ${cyan} (req, res, next) => {
|
|
|
1610
1610
|
return res.status(201).json({ data, message });
|
|
1611
1611
|
};
|
|
1612
1612
|
|
|
1613
|
+
res.notModified = () => {
|
|
1614
|
+
return res.status(304).end();
|
|
1615
|
+
};
|
|
1616
|
+
|
|
1613
1617
|
res.noContent = () => {
|
|
1614
1618
|
return res.status(204).end();
|
|
1615
1619
|
};
|