Skip to content

Commit

Permalink
sanitization for blocks defaultview
Browse files Browse the repository at this point in the history
  • Loading branch information
mihai-macaneata committed Jul 20, 2020
1 parent 4565e57 commit 5ae1766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/manage/Blocks/DefaultView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ const DefaultView = props => {
setState({ ...state, loading: true });
DB.table(providerUrl, selectQuery.table)
.get()
.where(selectQuery.columnKey, selectQuery.columnValue)
.where(additionalQuery.columnKey, additionalQuery.columnValue)
.where(selectQuery?.columnKey, selectQuery?.columnValue)
.where(additionalQuery?.columnKey, additionalQuery?.columnValue)
.makeRequest()
.then(response => {
setState({
Expand Down

0 comments on commit 5ae1766

Please sign in to comment.