improving name dropTableOptions
This commit is contained in:
parent
5b87defb97
commit
50da363ae0
@ -89,13 +89,13 @@ describe('Cancel "copy to" commands', function () {
|
|||||||
|
|
||||||
const dropTable = querystring.stringify({ q: dropTableQuery, api_key: 1234 });
|
const dropTable = querystring.stringify({ q: dropTableQuery, api_key: 1234 });
|
||||||
|
|
||||||
const createTableOptions = {
|
const dropTableOptions = {
|
||||||
url: `http://${host}:${port}/api/v1/sql?${dropTable}`,
|
url: `http://${host}:${port}/api/v1/sql?${dropTable}`,
|
||||||
headers: { host: 'vizzuality.cartodb.com' },
|
headers: { host: 'vizzuality.cartodb.com' },
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
};
|
};
|
||||||
|
|
||||||
request(createTableOptions, function (err, res) {
|
request(dropTableOptions, function (err, res) {
|
||||||
if (err) {
|
if (err) {
|
||||||
return done(err);
|
return done(err);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user