fixed string portfolioId

This commit is contained in:
Khalim Conn-Kowlessar 2023-08-02 11:06:42 +01:00
parent 4a34ecd0bc
commit 329a30e10a

View file

@ -2,7 +2,7 @@ import { NextRequest, NextResponse } from "next/server";
import { z } from "zod";
const PresignedUrlBodySchema = z.object({
portfolio_id: z.number(),
portfolio_id: z.string(),
housing_type: z.enum(["Social", "Private"]),
goal: z.enum(["Increase EPC", "Reduce energy consumption"]),
goal_value: z.string(),