Skip to content
Snippets Groups Projects

Add configuration for sharing emoji packs

Merged vaartis requested to merge vaartis/admin-fe:master into master
All threads resolved!
4 files
+ 125
8
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 17
0
@@ -70,6 +70,23 @@ export async function updatePackFile(host, token, args) {
let data = null
switch (args.action) {
case 'add': {
const { shortcode, file, fileName } = args
console.log(file)
data = fileUpdateFormData({
action: 'add',
shortcode: shortcode,
file: file
})
if (fileName.trim() !== '') {
data.set('filename', fileName)
}
break
}
case 'update': {
const { oldName, newName, newFilename } = args
Loading