sync parameter at group functions closes #162

This commit is contained in:
Juan Ignacio Sánchez Lara
2015-09-25 19:02:39 +02:00
parent a0204d50db
commit 3330421887
2 changed files with 41 additions and 4 deletions

View File

@@ -157,6 +157,7 @@ $$
$$ LANGUAGE 'plpythonu' VOLATILE;
-- url must contain a '%s' placeholder that will be replaced by current_database, for security reasons.
-- headers = { 'Authorization': params['auth'], 'Content-Type': 'application/json', 'X-Forwarded-Proto': 'https' }
CREATE OR REPLACE
FUNCTION cartodb._CDB_Group_API_Request(method text, url text, body text, valid_return_codes int[])
RETURNS int AS
@@ -167,7 +168,7 @@ $$
if params['host'] is None:
return None
headers = { 'Authorization': params['auth'], 'Content-Type': 'application/json', 'X-Forwarded-Proto': 'https' }
headers = { 'Authorization': params['auth'], 'Content-Type': 'application/json' }
retry = 3