Skip to content

Commit

Permalink
typo..
Browse files Browse the repository at this point in the history
  • Loading branch information
AMD-NICK committed Dec 6, 2023
1 parent f8aa894 commit db93860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ local validator = require("validator").middleware
app:get("/", validator({
steamid = "required|string|starts_with:765|size:17",
amount = "required|integer|min:1|max:100",
sum = "optional|numeric|min:1.5|max:99.5",
sum = "optional|decimal|min:1.5|max:99.5",
}), function(req, res, next)
assert(type(req.valid.amount) == "number")
assert(type(req.valid.steamid) == "string")
Expand Down

0 comments on commit db93860

Please sign in to comment.