Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Found via `typos --format brief`
  • Loading branch information
kianmeng authored and fcsonline committed Dec 21, 2022
1 parent 672f206 commit 1b5fc37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SYNTAX.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Second, it can be a hash with the following properties:

[Ansible](https://docs.ansible.com/ansible/latest/user_guide/playbooks_tags.html#special-tags-always-and-never)-like tags.

If you assing list of tags, e.g `[tag1, tag2]`, this item will be executed if `tag1` **OR** `tag2` is passed.
If you assign list of tags, e.g `[tag1, tag2]`, this item will be executed if `tag1` **OR** `tag2` is passed.

Special tags: `always` and `never`.

Expand Down
4 changes: 2 additions & 2 deletions example/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const randomFailedHandler = function(req, res) {
}
};

const transactionsHander = function(req, res) {
const transactionsHandler = function(req, res) {
const body = req.body

if (body.a + body.b === '123') {
Expand All @@ -72,7 +72,7 @@ app.get('/api/users/at/:floor/:room', logger_handler('R'));
app.get('/api/account', logger_handler('A'));

app.post('/api/users', randomFailedHandler);
app.post('/api/transactions', transactionsHander);
app.post('/api/transactions', transactionsHandler);

// Sessions test plan
app.get('/login', function(req, res){
Expand Down

0 comments on commit 1b5fc37

Please sign in to comment.