Skip to content

Commit 3884aa5

Browse files
committed
eslint autofix
Ran `docker compose exec ui npm run lint`
1 parent d3c3e8a commit 3884aa5

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/backend/api.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ export const updateProfile = async payload => (await axios.post('/wiki/profile',
8989
export const wikiDiscovery = async ({ sort, direction, active, currentPage, resultsPerPage }) => {
9090
return (await axios.get('/wiki', {
9191
params: {
92-
sort: sort,
93-
direction: direction,
92+
sort,
93+
direction,
9494
is_active: active,
9595
page: currentPage,
9696
per_page: resultsPerPage

src/backend/mocks/default_handlers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let getEntityImportCalledTimes = 0
88
function makeUser (email = 'test@local') {
99
return {
1010
id: 1,
11-
email: email,
11+
email,
1212
verified: true,
1313
created_at: '2020-01-01',
1414
updated_at: '2020-01-01'
@@ -69,7 +69,7 @@ const wikiDiscovery = (referrer, params) => {
6969

7070
let wikis = [...Array(75).keys()].map((id) => {
7171
const wiki = {
72-
id: id,
72+
id,
7373
domain: id + '-wikibase.wbaas.localhost',
7474
sitename: id + ' - ' + names[id % names.length],
7575
wiki_site_stats: null,

src/components/Pages/Contact.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ export default {
102102
this.$recaptcha('contact').then((recaptcha) => {
103103
this.$api.contact(
104104
{
105-
name: name,
106-
subject: subject,
107-
contactDetails: contactDetails,
108-
message: message,
109-
recaptcha: recaptcha
105+
name,
106+
subject,
107+
contactDetails,
108+
message,
109+
recaptcha
110110
})
111111
.then(success => this.createSuccessful())
112112
.catch(errors => {

0 commit comments

Comments
 (0)