Skip to content

Commit

Permalink
Release 2023-12-14 (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannaPeanut authored Dec 14, 2023
2 parents dcbee08 + 5905fdf commit cabcba9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/pages/api/survey/[surveyId]/results.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
where: { surveyId: survey.id },
include: { responses: true },
})
console.log("surveySessions", surveySessions)

const headers = [
{ id: "createdAt", title: "createdAt" },
Expand Down
3 changes: 1 addition & 2 deletions src/subsections/mutations/updateSubsectionsWithFeltData.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { resolver } from "@blitzjs/rpc"
import db from "db"
import { z } from "zod"
import { SubsectionWithPosition } from "../queries/getSubsection"
import { FeltApiResponseSchema, SubsectionSchema } from "../schema"
import { multilinestringToLinestring } from "../components/utils/multilinestringToLinestring"
import { FeltApiResponseSchema, SubsectionSchema } from "../schema"

const UpdateSubsectionsWithFeltDataSchema = z.object({
subsections: z.array(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export function EditableSurveyResponseForm<S extends z.ZodType<any, any>>({
})

const handleSubmit = async (values: any) => {
console.log("handleSubmit", { values })
try {
await updateSurveyResponseMutation({
id: response.id,
Expand Down

0 comments on commit cabcba9

Please sign in to comment.