Skip to content

Commit

Permalink
remove limit from reports temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
secondl1ght committed Dec 21, 2023
1 parent e543236 commit 65d3e4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/sync/reports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const reportsSync = async () => {
do {
try {
const response = await axios.get<Report[]>(
`https://api.btcmap.org/v2/reports?updated_since=${updatedSince}&limit=${limit}&compress=true`
`https://api.btcmap.org/v2/reports?updated_since=${updatedSince}&compress=true`
);

if (response.data.length) {
Expand Down Expand Up @@ -88,7 +88,7 @@ export const reportsSync = async () => {
do {
try {
const response = await axios.get<Report[]>(
`https://api.btcmap.org/v2/reports?updated_since=${updatedSince}&limit=${limit}&compress=true`
`https://api.btcmap.org/v2/reports?updated_since=${updatedSince}&compress=true`
);

// update new records if they exist
Expand Down Expand Up @@ -166,7 +166,7 @@ export const reportsSync = async () => {
do {
try {
const response = await axios.get<Report[]>(
`https://api.btcmap.org/v2/reports?updated_since=${updatedSince}&limit=${limit}&compress=true`
`https://api.btcmap.org/v2/reports?updated_since=${updatedSince}&compress=true`
);

if (response.data.length) {
Expand Down

0 comments on commit 65d3e4b

Please sign in to comment.