File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ class CloudinaryAdapter extends StorageBase {
67
67
if ( uploaderOptions . upload . use_filename !== 'undefined' && uploaderOptions . upload . use_filename ) {
68
68
Object . assign (
69
69
uploaderOptions . upload ,
70
- { public_id : path . parse ( this . sanitizeFileName ( image . name ) ) . name }
70
+ { public_id : path . parse ( this . getSanitizedFileName ( image . name ) ) . name }
71
71
) ;
72
72
}
73
73
Original file line number Diff line number Diff line change 48
48
"@tryghost/errors" : " ^1.3.7" ,
49
49
"bluebird" : " ^3.7.0" ,
50
50
"cloudinary" : " ^2.6.0" ,
51
- "ghost-storage-base" : " ^1.1.1 " ,
51
+ "ghost-storage-base" : " 1.0.0 " ,
52
52
"got" : " ^11.0" ,
53
53
"image-size" : " ^1.0.1" ,
54
54
"lodash" : " ^4.17.20" ,
Original file line number Diff line number Diff line change @@ -2076,10 +2076,10 @@ get-stream@^5.1.0:
2076
2076
dependencies :
2077
2077
pump "^3.0.0"
2078
2078
2079
- ghost-storage-base@^1.1.1 :
2080
- version "1.1.1 "
2081
- resolved "https://registry.yarnpkg.com/ghost-storage-base/-/ghost-storage-base-1.1.1 .tgz#63caec4af9cb2f5cd0271cc87bf85cbadd135de8 "
2082
- integrity sha512-MRokcZctPKO/Oonn2W55dYNZRPn75lBoSdoOc1BtwL7wm/Sq/Qx7ovx1H5seZhCReFs8QOeUXvX9dXuguBSnnQ ==
2079
+ ghost-storage-base@1.0.0 :
2080
+ version "1.0.0 "
2081
+ resolved "https://registry.yarnpkg.com/ghost-storage-base/-/ghost-storage-base-1.0.0 .tgz#931289d310ad59fc80e2be01a81235cc3a76e75a "
2082
+ integrity sha512-qIW6pny/wWKjrbRmXVNis9i7856AMR5/NZmnLTrKbA0KIEnA9K/fhkj7ISnSyTYfBv17sFsC23eJfvj6dDgZrQ ==
2083
2083
dependencies :
2084
2084
moment "2.27.0"
2085
2085
You can’t perform that action at this time.
0 commit comments