appscms-tools-theme 0.8.6 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/js/googledrive.js +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88ff31cc19a01fed41fc9af69882c00d5fc54039ce5045b166a6d43a18f961cf
|
4
|
+
data.tar.gz: b498c2bc593b0867e26189ef430812e5129dbd36986dae844deb082117befad0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a9bef797e7087a66e7d43257c988bcd3770c63a91ffb1bd7daeead3f727aa7248c17aee6bcfd95a3b86768c095312496554cd601f3e332560c686655bf6b753
|
7
|
+
data.tar.gz: 1c44b65a9216a0987464f461e5afc0581a62c85ecefd993b84d3c1fbade301144c56e6b3a80bb04f11b80e42dcb9fc5a10869a15c5da9f939aa19c166cdddf56
|
data/assets/js/googledrive.js
CHANGED
@@ -54,7 +54,7 @@ const pickerCallback = async (data) => {
|
|
54
54
|
const res = await fetch(
|
55
55
|
`https://www.googleapis.com/drive/v2/files/${data.docs[0].id}?key=${developerKey}`
|
56
56
|
).then((res) => res.json())
|
57
|
-
const response = await fetch(res.downloadUrl).then((res) => res.blob)
|
57
|
+
const response = await fetch(res.downloadUrl).then((res) => res.blob())
|
58
58
|
let metadata = {
|
59
59
|
type: data.docs[0].mimeType,
|
60
60
|
}
|