Apply suggestion to src/services/api/api.service.js

This commit is contained in:
HJ 2019-06-17 08:20:02 +00:00
parent b72aa97098
commit 8caf13bbce

View File

@ -133,7 +133,6 @@ const updateAvatar = ({credentials, avatar}) => {
const updateBg = ({ credentials, background }) => { const updateBg = ({ credentials, background }) => {
const form = new FormData() const form = new FormData()
console.log(background)
form.append('pleroma_background_image', background) form.append('pleroma_background_image', background)
return fetch(MASTODON_PROFILE_UPDATE_URL, { return fetch(MASTODON_PROFILE_UPDATE_URL, {
headers: authHeaders(credentials), headers: authHeaders(credentials),