Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/backend/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ export const updateProfile = async payload => (await axios.post('/wiki/profile',
export const wikiDiscovery = async ({ sort, direction, active, currentPage, resultsPerPage }) => {
return (await axios.get('/wiki', {
params: {
sort: sort,
direction: direction,
sort,
direction,
is_active: active,
page: currentPage,
per_page: resultsPerPage
Expand Down
4 changes: 2 additions & 2 deletions src/backend/mocks/default_handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let getEntityImportCalledTimes = 0
function makeUser (email = 'test@local') {
return {
id: 1,
email: email,
email,
verified: true,
created_at: '2020-01-01',
updated_at: '2020-01-01'
Expand Down Expand Up @@ -69,7 +69,7 @@ const wikiDiscovery = (referrer, params) => {

let wikis = [...Array(75).keys()].map((id) => {
const wiki = {
id: id,
id,
domain: id + '-wikibase.wbaas.localhost',
sitename: id + ' - ' + names[id % names.length],
wiki_site_stats: null,
Expand Down
10 changes: 5 additions & 5 deletions src/components/Pages/Contact.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ export default {
this.$recaptcha('contact').then((recaptcha) => {
this.$api.contact(
{
name: name,
subject: subject,
contactDetails: contactDetails,
message: message,
recaptcha: recaptcha
name,
subject,
contactDetails,
message,
recaptcha
})
.then(success => this.createSuccessful())
.catch(errors => {
Expand Down
Loading