API Verbessert - Verbrauchsausweis Funktioniert
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
||||
VerbrauchsausweisWohnen,
|
||||
} from "@ibcornelsen/database";
|
||||
import moment from "moment";
|
||||
import trpc from "src/trpc";
|
||||
import { client } from "src/trpc";
|
||||
|
||||
export function energetischeNutzflaecheVerbrauchsausweisWohnen_2016(
|
||||
ausweis: VerbrauchsausweisWohnen & {
|
||||
@@ -28,7 +28,7 @@ export async function endEnergieVerbrauchVerbrauchsausweis_2016(
|
||||
return null
|
||||
}
|
||||
|
||||
const klimafaktoren = await trpc.klimafaktoren.query({
|
||||
const klimafaktoren = await client.v1.klimafaktoren.query({
|
||||
plz: ausweis.gebaeude_stammdaten.plz,
|
||||
genauigkeit: "years",
|
||||
startdatum: ausweis.startdatum,
|
||||
|
||||
Reference in New Issue
Block a user