Skip to content

Commit

Permalink
fix: 50문제 초과시 미반영 이슈
Browse files Browse the repository at this point in the history
feat: 아오 민성시치
  • Loading branch information
w8385 committed Jan 26, 2024
1 parent c6c8965 commit 431b43c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class UserService {
const problems = [];

for (let page = 1; page <= (problemIds.length + 49) / 50; page++) {
let url = `https://solved.ac/api/v3/search/problem?page=${page}&query=`;
let url = `https://solved.ac/api/v3/search/problem?query=`;
for (
let i = (page - 1) * 50;
i < page * 50 && i < problemIds.length;
Expand Down

0 comments on commit 431b43c

Please sign in to comment.