From d1c8307f35030ad5733cbbb95a070077e02bae88 Mon Sep 17 00:00:00 2001 From: Jeffrey Dowdle Date: Tue, 3 Dec 2024 14:12:32 +1100 Subject: [PATCH] fix(@dpc-sdp/nuxt-ripple): added manual import for server util to fix webform submit --- .../nuxt-ripple/server/api/tide/webform_submission/[formId].ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nuxt-ripple/server/api/tide/webform_submission/[formId].ts b/packages/nuxt-ripple/server/api/tide/webform_submission/[formId].ts index 77b15c6aae..de1a0aebdd 100644 --- a/packages/nuxt-ripple/server/api/tide/webform_submission/[formId].ts +++ b/packages/nuxt-ripple/server/api/tide/webform_submission/[formId].ts @@ -2,6 +2,7 @@ import { defineEventHandler, H3Event } from 'h3' import { createHandler, logger } from '@dpc-sdp/ripple-tide-api' import { createProxyMiddleware } from 'http-proxy-middleware' +import verifyCaptcha from '../../../utils/verifyCaptcha' export const createWebformProxyHandler = async (event: H3Event) => { const { public: config } = useRuntimeConfig()