Merge pull request #317 from nolanlawson/nolan/308-addendum
fix: consistently return short_names from sanitizenolan/issue-325
commit
cbad12426c
|
@ -5,6 +5,7 @@ test('should work', () => {
|
|||
{
|
||||
id: 'pineapple',
|
||||
name: 'Pineapple',
|
||||
short_names: ['pineapple'],
|
||||
colons: ':pineapple:',
|
||||
emoticons: [],
|
||||
unified: '1f34d',
|
||||
|
|
|
@ -47,6 +47,7 @@ function sanitize(emoji) {
|
|||
return {
|
||||
id,
|
||||
name,
|
||||
short_names,
|
||||
colons,
|
||||
emoticons,
|
||||
unified: unified.toLowerCase(),
|
||||
|
|
Loading…
Reference in New Issue