Skip to content

Commit 092300d

Browse files
fix: missing type parameter in search callback
close #39
1 parent 886a5b4 commit 092300d

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

resources/dist.rc

23 Bytes
Binary file not shown.

src/celemod-ui/src/api/wegfan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export const searchSubmission = async ({
145145
if (sort) params.set("sort", sort);
146146
if (includeExclusiveSubmissions) params.set("includeExclusiveSubmissions", includeExclusiveSubmissions.toString());
147147
const url = `https://celeste.weg.fan/api/v2/submission/search?${params.toString()}`;
148-
// console.log(url);
148+
console.log('Search URL:', url);
149149
return fetch(url, {
150150
headers: {
151151
'User-Agent': celemodUA

src/celemod-ui/src/routes/Search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export const Search = () => {
198198
});
199199
}
200200
}),
201-
[currentPage]
201+
[currentPage, type]
202202
)}
203203
modFolder={selectedPath + '/Mods'}
204204
/>

0 commit comments

Comments
 (0)