Skip to content
This repository was archived by the owner on Feb 22, 2025. It is now read-only.

Commit 829de8c

Browse files
committed
fix(claims): 🐛 Wrong initial value of building count
1 parent 4a1c54e commit 829de8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/controllers/AdminController.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { Request, Response } from "express";
22

3-
import Core from "../Core.js";
4-
import { ERROR_GENERIC } from "../util/Errors.js";
53
import axios from "axios";
4+
import Core from "../Core.js";
65
import { toOverpassPolygon } from "../util/Coordinates.js";
6+
import { ERROR_GENERIC } from "../util/Errors.js";
77

88
class AdminController {
99
private core: Core;
@@ -48,7 +48,7 @@ class AdminController {
4848
center: { not: null },
4949
buildings:
5050
req.query.skipExisting === "true"
51-
? 1
51+
? 0
5252
: {
5353
gte: req.query.take ? parseInt(req.query.gte as string) : 0,
5454
},

0 commit comments

Comments
 (0)