Skip to content
Snippets Groups Projects
Commit 447ec911 authored by eal's avatar eal
Browse files

Actually actually fix image url.

parent f4b1319e
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ const PostStatusForm = { ...@@ -72,7 +72,7 @@ const PostStatusForm = {
// eslint-disable-next-line camelcase // eslint-disable-next-line camelcase
screen_name: `:${shortcode}:`, screen_name: `:${shortcode}:`,
name: '', name: '',
img: image-url img: image_url
})) }))
} else { } else {
return false return false
......
...@@ -108,7 +108,7 @@ window.fetch('/static/emoji.txt') ...@@ -108,7 +108,7 @@ window.fetch('/static/emoji.txt')
.then((csv) => { .then((csv) => {
const emoji = csv.split('\n').map((row) => { const emoji = csv.split('\n').map((row) => {
const values = row.split(', ') const values = row.split(', ')
return { shortcode: values[0], image-url: values[1] } return { shortcode: values[0], image_url: values[1] }
}) })
store.dispatch('setOption', { name: 'emoji', value: emoji }) store.dispatch('setOption', { name: 'emoji', value: emoji })
}) })
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment