Skip to content

Commit c6083f2

Browse files
authored
Merge pull request #3 from 0xflotus/patch-1
fixed some small errors
2 parents 93f20a5 + 4444aea commit c6083f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ adduser {
5555
// sqler will attempt to send the incoming authorization header
5656
// to the provided endpoint(s) as `Authorization`,
5757
// each endpoint MUST return `200 OK` so sqler can continue, other wise,
58-
// sqler will break the request and return back the client with the error occured.
58+
// sqler will break the request and return back the client with the error occurred.
5959
// each authorizer has a method and a url.
6060
// this only used within `RESTful` context.
6161
// authorizers = ["GET http://web.hook/api/authorize", "GET http://web.hook/api/allowed?roles=admin,root,super_admin"]
6262
6363
// the validation rules
64-
// you can specifiy seprated rules for each request method!
64+
// you can specify separated rules for each request method!
6565
rules {
6666
user_name = ["required"]
6767
user_email = ["required", "email"]
@@ -72,7 +72,7 @@ adduser {
7272
exec = <<SQL
7373
{{ template "_boot" }}
7474
75-
/* let's bind a vars to be used within our internal prepared statment */
75+
/* let's bind a vars to be used within our internal prepared statement */
7676
{{ .BindVar "name" .Input.user_name }}
7777
{{ .BindVar "email" .Input.user_email }}
7878
{{ .BindVar "emailx" .Input.user_email }}

0 commit comments

Comments
 (0)