Apply suggestion to src/services/api/api.service.js
This commit is contained in:
parent
b72aa97098
commit
8caf13bbce
|
@ -133,7 +133,6 @@ const updateAvatar = ({credentials, avatar}) => {
|
|||
|
||||
const updateBg = ({ credentials, background }) => {
|
||||
const form = new FormData()
|
||||
console.log(background)
|
||||
form.append('pleroma_background_image', background)
|
||||
return fetch(MASTODON_PROFILE_UPDATE_URL, {
|
||||
headers: authHeaders(credentials),
|
||||
|
|
Loading…
Reference in New Issue