|
|
@ -521,11 +521,7 @@ const fetchMutes = ({credentials}) => {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const fetchBlocks = ({page, credentials}) => {
|
|
|
|
const fetchBlocks = ({page, credentials}) => {
|
|
|
|
let url = BLOCKS_URL
|
|
|
|
return fetch(BLOCKS_URL, {
|
|
|
|
if (page) {
|
|
|
|
|
|
|
|
url = url + `?page=${page}`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return fetch(url, {
|
|
|
|
|
|
|
|
headers: authHeaders(credentials)
|
|
|
|
headers: authHeaders(credentials)
|
|
|
|
}).then((data) => {
|
|
|
|
}).then((data) => {
|
|
|
|
if (data.ok) {
|
|
|
|
if (data.ok) {
|
|
|
|