Skip to content

Commit

Permalink
Fixing regex.hypermedia & regex.id
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Aug 18, 2018
1 parent d69440c commit f893987
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/regex.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ module.exports = {
getOnly: /^GET$/i,
hasParam: /\/:(\w*)/,
hasOrderByDesc: /(\?|&)order_by=desc/,
hypermedia: /[a-z]+_(guid|uuid|id|url|uri)$/i,
id: /^(_id|id)$/i,
hypermedia: /(([a-z]+(_)?)?id|url|uri)$/i,
id: /^(_)?id$/i,
indent: /application\/json;\sindent=(\d+)/,
jsonWrap: /^[\[\{"]/,
leading: /.*\//,
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tenso",
"description": "Tensō is an elastic REST API gateway for node.js",
"version": "8.0.17",
"version": "8.0.18",
"homepage": "http://avoidwork.github.io/tenso",
"author": "Jason Mulligan <[email protected]>",
"repository": {
Expand Down

0 comments on commit f893987

Please sign in to comment.