forked from AkkomaGang/akkoma-fe
Apply suggestion to src/services/api/api.service.js
This commit is contained in:
parent
b72aa97098
commit
8caf13bbce
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue