Skip to content

Commit

Permalink
fix(config): use allowed chars for objectID
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv committed Oct 8, 2018
1 parent ebcbf56 commit 34f41bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/__snapshots__/config.test.js.snap
Expand Up @@ -42,7 +42,7 @@ Object {
},
},
"description": "filter on author: {owner.name}",
"objectID": "author:owner",
"objectID": "author-filter",
},
Object {
"condition": Object {
Expand Down Expand Up @@ -84,7 +84,7 @@ Object {
},
},
"description": "filter on keyword: {keywords}",
"objectID": "keyword:keyword",
"objectID": "keyword-filter",
},
],
"indexSettings": Object {
Expand Down
4 changes: 2 additions & 2 deletions src/config.js
Expand Up @@ -91,7 +91,7 @@ const defaultConfig = {
},
},
description: 'filter on author: {owner.name}',
objectID: 'author:owner',
objectID: 'author-filter',
},
{
condition: {
Expand Down Expand Up @@ -123,7 +123,7 @@ const defaultConfig = {
},
},
description: 'filter on keyword: {keywords}',
objectID: 'keyword:keyword',
objectID: 'keyword-filter',
},
],
};
Expand Down

0 comments on commit 34f41bb

Please sign in to comment.