Added Veadotube redemption
This commit is contained in:
parent
d2352288f2
commit
6847ea6c9d
@ -240,6 +240,19 @@ const actionTypes = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Veadotube - Set State",
|
||||
"value": ActionType.VEADOTUBE_SET_STATE,
|
||||
"inputs": [
|
||||
{
|
||||
"type": "text",
|
||||
"label": "State",
|
||||
"key": "state",
|
||||
"placeholder": "state #1",
|
||||
"required": true
|
||||
}
|
||||
]
|
||||
},
|
||||
]
|
||||
|
||||
const nameSchema = z.string({
|
||||
@ -321,7 +334,6 @@ const RedemptionAction = ({
|
||||
}
|
||||
|
||||
info.data = actionData
|
||||
|
||||
if (isNew) {
|
||||
axios.post("/api/settings/redemptions/actions", info)
|
||||
.then(d => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user