Makefile
This commit is contained in:
BIN
GEG_2024_Gesetzestext.pdf
Normal file
BIN
GEG_2024_Gesetzestext.pdf
Normal file
Binary file not shown.
BIN
GEG_2024_Gesetzestext.xopp
Normal file
BIN
GEG_2024_Gesetzestext.xopp
Normal file
Binary file not shown.
13
Makefile
Normal file
13
Makefile
Normal 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
|
||||||
@@ -8,6 +8,7 @@ export const auditPlzNichtErkannt = memoize(async (gebaeude: GebaeudeAufnahmeCli
|
|||||||
if (gebaeude.plz.length == 5) {
|
if (gebaeude.plz.length == 5) {
|
||||||
try {
|
try {
|
||||||
const result = await client.v1.postleitzahlen.query({ plz: gebaeude.plz, limit: 1 });
|
const result = await client.v1.postleitzahlen.query({ plz: gebaeude.plz, limit: 1 });
|
||||||
|
|
||||||
if (result.length > 0) {
|
if (result.length > 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user