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 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),
|
||||||
|
Loading…
Reference in New Issue
Block a user