forked from AkkomaGang/akkoma-fe
Remove pagination logic in fetchBlocks api
This commit is contained in:
parent
395d212904
commit
32c112bc96
1 changed files with 1 additions and 5 deletions
|
@ -521,11 +521,7 @@ const fetchMutes = ({credentials}) => {
|
|||
}
|
||||
|
||||
const fetchBlocks = ({page, credentials}) => {
|
||||
let url = BLOCKS_URL
|
||||
if (page) {
|
||||
url = url + `?page=${page}`
|
||||
}
|
||||
return fetch(url, {
|
||||
return fetch(BLOCKS_URL, {
|
||||
headers: authHeaders(credentials)
|
||||
}).then((data) => {
|
||||
if (data.ok) {
|
||||
|
|
Loading…
Reference in a new issue