next-tinacms-cloudinary 3.5.5 → 3.5.6
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/CHANGELOG.md +6 -0
- package/dist/handlers.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/handlers.js
CHANGED
|
@@ -125,7 +125,7 @@ var findErrorMessage = (e) => {
|
|
|
125
125
|
};
|
|
126
126
|
async function deleteAsset(req, res) {
|
|
127
127
|
const { media } = req.query;
|
|
128
|
-
const [
|
|
128
|
+
const [, public_id] = media;
|
|
129
129
|
import_cloudinary.v2.uploader.destroy(public_id, {}, (err) => {
|
|
130
130
|
if (err)
|
|
131
131
|
res.status(500);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-tinacms-cloudinary",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.6",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"multer": "^1.4.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@tinacms/toolkit": "0.56.
|
|
28
|
+
"@tinacms/toolkit": "0.56.12",
|
|
29
29
|
"@types/crypto-js": "^3.1.47",
|
|
30
30
|
"@types/js-cookie": "^2.2.6",
|
|
31
31
|
"@types/node": "^13.13.1",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"react": "16.14.0",
|
|
36
36
|
"react-dom": "16.14.0",
|
|
37
37
|
"styled-components": "^5.2.0",
|
|
38
|
-
"tinacms": "0.66.
|
|
38
|
+
"tinacms": "0.66.2",
|
|
39
39
|
"typescript": "^4.3.5"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|