mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Search results pagination not allowed when not authed
This commit is contained in:
parent
f3b81bc540
commit
72438bbf06
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ function Search(props) {
|
||||||
if (type) {
|
if (type) {
|
||||||
params.limit = LIMIT;
|
params.limit = LIMIT;
|
||||||
params.type = type;
|
params.type = type;
|
||||||
params.offset = offsetRef.current;
|
if (authenticated) params.offset = offsetRef.current;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const results = await masto.v2.search(params);
|
const results = await masto.v2.search(params);
|
||||||
|
|
Loading…
Reference in a new issue