aboutsummaryrefslogtreecommitdiff
path: root/src/components/sticker_picker/sticker_picker.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/sticker_picker/sticker_picker.js')
-rw-r--r--src/components/sticker_picker/sticker_picker.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/sticker_picker/sticker_picker.js b/src/components/sticker_picker/sticker_picker.js
index 3a2d3914..b06384e5 100644
--- a/src/components/sticker_picker/sticker_picker.js
+++ b/src/components/sticker_picker/sticker_picker.js
@@ -31,8 +31,8 @@ const StickerPicker = {
fetch(sticker)
.then((res) => {
res.blob().then((blob) => {
- var file = new File([blob], name, { mimetype: 'image/png' })
- var formData = new FormData()
+ const file = new File([blob], name, { mimetype: 'image/png' })
+ const formData = new FormData()
formData.append('file', file)
statusPosterService.uploadMedia({ store, formData })
.then((fileData) => {