Skip to content

Commit

Permalink
Fix eslint problems
Browse files Browse the repository at this point in the history
  • Loading branch information
sefinek24 committed Dec 19, 2023
1 parent 9319b40 commit f9b245c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const emojis = {
circles: require('./data/emoji/circle.json'),
squares: require('./data/emoji/square.json'),

unicode: require('./data/emoji/collection/single.json')
unicode: require('./data/emoji/collection/single.json'),
};

const endpoints = require('./data/endpoints.json');
Expand All @@ -34,7 +34,7 @@ const httpOptions = {
'X-Content-Type-Options': 'nosniff',
'X-Frame-Options': 'DENY',
'X-XSS-Protection': '1; mode=block',
}
},
};

/**
Expand Down Expand Up @@ -78,7 +78,7 @@ class SefinekAPI {

module.exports = {
...Object.fromEntries(Object.entries(emojis).map(([key, value]) => [
key, () => value[Math.floor(Math.random() * value.length)]
key, () => value[Math.floor(Math.random() * value.length)],
])),

Kaomojis: SefinekAPI,
Expand Down

0 comments on commit f9b245c

Please sign in to comment.