This commit is contained in:
Moritz Utcke
2024-11-04 15:15:10 +11:00
parent e113aa5c61
commit da9ffec877
4 changed files with 14 additions and 0 deletions

BIN
GEG_2024_Gesetzestext.pdf Normal file

Binary file not shown.

BIN
GEG_2024_Gesetzestext.xopp Normal file

Binary file not shown.

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
.PHONY: dev database api online-energieausweis
online-energieausweis:
bun run dev
dev: online-energieausweis api database
database:
cd ../database
docker compose up
api:
cd ../api
bun run dev

View File

@@ -8,6 +8,7 @@ export const auditPlzNichtErkannt = memoize(async (gebaeude: GebaeudeAufnahmeCli
if (gebaeude.plz.length == 5) {
try {
const result = await client.v1.postleitzahlen.query({ plz: gebaeude.plz, limit: 1 });
if (result.length > 0) {
return false;
}