added token validation with input fields
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { getVorgangByCaseNumber } from '$lib/server/vorgangService';
|
||||
import { redirectIfVorgangExists } from '$lib/server/vorgangService';
|
||||
|
||||
/** @type {import('./$types').Actions} */
|
||||
export const actions = {
|
||||
default: async ({request}: {request: Request}) => getVorgangByCaseNumber(request)
|
||||
default: async ({request}: {request: Request}) => redirectIfVorgangExists(request)
|
||||
}
|
||||
Reference in New Issue
Block a user