Skip to content

Commit

Permalink
Removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ranbena committed Mar 23, 2019
1 parent 1da86ad commit 74bb956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/integration/dashboard/dashboard_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function addQueryByAPI(data, shouldPublish = true) {
if (shouldPublish) {
request.then(({ body }) => cy.request('POST', `/api/queries/${body.id}`, { is_draft: false }));
}

return request.then(({ body }) => body);
}

Expand All @@ -66,7 +66,7 @@ function addWidgetByAPI(dashId, queryData = {}) {
const visId = Cypress._.get(query, 'visualizations.0.id');
assert.isDefined(visId, 'Query api call returns at least one visualization with id');
data.visualization_id = visId;

return cy.request('POST', 'api/widgets', data);
})
.then(({ body }) => {
Expand Down

0 comments on commit 74bb956

Please sign in to comment.