console.log cleanup

This commit is contained in:
Henry Jameson 2018-09-17 19:16:33 +03:00
parent 03f28d3fa6
commit 419744080f
2 changed files with 0 additions and 4 deletions

View File

@ -80,7 +80,6 @@ window.fetch('/api/statusnet/config.json')
.then((data) => {
const {name, closed: registrationClosed, textlimit, server} = data.site
console.log(store)
store.dispatch('setInstanceOption', { name: 'name', value: name })
store.dispatch('setInstanceOption', { name: 'registrationOpen', value: (registrationClosed === '0') })
store.dispatch('setInstanceOption', { name: 'textlimit', value: parseInt(textlimit) })
@ -92,7 +91,6 @@ window.fetch('/api/statusnet/config.json')
.then((res) => res.json())
.catch((err) => {
console.warn('Failed to load static/config.json, continuing without it.')
console.warn('Error was: ')
console.warn(err)
return {}
})

View File

@ -133,8 +133,6 @@ const updateBanner = ({credentials, params}) => {
const updateProfile = ({credentials, params}) => {
let url = PROFILE_UPDATE_URL
console.log(params)
const form = new FormData()
each(params, (value, key) => {