We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1522a29 commit 8f2a18cCopy full SHA for 8f2a18c
utils/mk_bubbles.js
@@ -7,8 +7,8 @@ import fetch from 'node-fetch';
7
8
const API_URL = 'https://next.obudget.org/api/query?query=';
9
const DOC_URL = 'https://next.obudget.org/get/';
10
-const YEAR = 2024;
11
-const PROPOSAL_YEAR = 2025;
+const YEAR = 2025;
+const PROPOSAL_YEAR = 0; //2025;
12
const BUDGET_CODE = '0020670142';
13
14
const RETURNS_CONDITION = `
@@ -110,6 +110,9 @@ function sleep(ms) {
110
}
111
112
function sql_total_amount(year) {
113
+ if (year < 0) {
114
+ return null;
115
+ }
116
const SQL = `
117
SELECT sum(net_allocated) AS total_amount
118
FROM raw_budget
0 commit comments