generated from ITwrxOrg/EZ-Bkup
fix issue #1
This commit is contained in:
parent
38854b2dd8
commit
0c9ed3e257
|
@ -15,7 +15,7 @@ proc reminderCreatePostHandler*() =
|
||||||
#vInput("subject", @["string", "max:175"])
|
#vInput("subject", @["string", "max:175"])
|
||||||
vInput("message", @["required", "string", "max:255"])
|
vInput("message", @["required", "string", "max:255"])
|
||||||
vInput("notify_via", @["required", "string", "max:5"])
|
vInput("notify_via", @["required", "string", "max:5"])
|
||||||
vInput("repeats", @["required", "integer", "max:1"])
|
vInput("repeats", @["integer", "max:1"])
|
||||||
vInput("repeat_freq", @["required_with:repeats", "string", "max:10"])
|
vInput("repeat_freq", @["required_with:repeats", "string", "max:10"])
|
||||||
vInput("weekly_on", @["required_when:repeat_freq:equals:week", "string", "max:10"])
|
vInput("weekly_on", @["required_when:repeat_freq:equals:week", "string", "max:10"])
|
||||||
vInput("monthly_on_day", @["required_when:repeat_freq:equals:month:without:monthly_on_week", "integer", "max:31"])
|
vInput("monthly_on_day", @["required_when:repeat_freq:equals:month:without:monthly_on_week", "integer", "max:31"])
|
||||||
|
@ -96,7 +96,7 @@ proc reminderUpdatePostHandler*() =
|
||||||
#vInput("subject", @["string", "max:175"])
|
#vInput("subject", @["string", "max:175"])
|
||||||
vInput("message", @["required", "string", "max:255"])
|
vInput("message", @["required", "string", "max:255"])
|
||||||
vInput("notify_via", @["required", "string", "max:5"])
|
vInput("notify_via", @["required", "string", "max:5"])
|
||||||
vInput("repeats", @["required", "integer", "max:1"])
|
vInput("repeats", @["integer", "max:1"])
|
||||||
vInput("repeat_freq", @["required_with:repeats", "string", "max:10"])
|
vInput("repeat_freq", @["required_with:repeats", "string", "max:10"])
|
||||||
vInput("weekly_on", @["required_when:repeat_freq:equals:week", "string", "max:10"])
|
vInput("weekly_on", @["required_when:repeat_freq:equals:week", "string", "max:10"])
|
||||||
vInput("monthly_on_day", @["required_when:repeat_freq:equals:month:without:monthly_on_week", "must_unset_with:monthly_on_week", "must_unset_with:monthly_on_weekday", "integer", "max:31"])
|
vInput("monthly_on_day", @["required_when:repeat_freq:equals:month:without:monthly_on_week", "must_unset_with:monthly_on_week", "must_unset_with:monthly_on_weekday", "integer", "max:31"])
|
||||||
|
|
Loading…
Reference in New Issue