Added basic validation for requests

This commit is contained in:
Tom
2024-08-25 21:35:46 +00:00
parent 2d40d6fe09
commit 624b3fa63b
42 changed files with 608 additions and 492 deletions

View File

@ -8,7 +8,6 @@ import RedeemptionAction from "@/components/elements/redeemable-action";
import OBSRedemption from "@/components/elements/redemption";
import { ActionType } from "@prisma/client";
import InfoNotice from "@/components/elements/info-notice";
import { string } from "zod";
const obsTransformations = [
{ label: "scene_name", description: "", placeholder: "Name of the OBS scene" },
@ -66,7 +65,6 @@ const RedemptionsPage = () => {
axios.get('/api/connection')
.then(d => {
console.log(d.data.data)
setConnections(d.data.data)
})