Skip to content
Snippets Groups Projects
Commit 0aa018bf authored by Dan Notestein's avatar Dan Notestein
Browse files

fix amount of arguments required to 2 for get_community_context

parent f1024c28
No related branches found
No related tags found
2 merge requests!827Merge develop changes to master,!814speed up json checking
......@@ -9,7 +9,7 @@ DECLARE
_community_id INT;
_account_id INT;
BEGIN
_params = hivemind_postgrest_utilities.validate_json_arguments(_params, '{"name": "string", "account": "string"}', 0, '{"name": "given community name is not valid", "account": "invalid account name type"}');
_params = hivemind_postgrest_utilities.validate_json_arguments(_params, '{"name": "string", "account": "string"}', 2, '{"name": "given community name is not valid", "account": "invalid account name type"}');
_community_id =
hivemind_postgrest_utilities.find_community_id(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment