summaryrefslogtreecommitdiffstats
path: root/src/main/resources/script/executeQuery.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/script/executeQuery.groovy')
-rw-r--r--src/main/resources/script/executeQuery.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/script/executeQuery.groovy b/src/main/resources/script/executeQuery.groovy
index eb360d2..fdcc116 100644
--- a/src/main/resources/script/executeQuery.groovy
+++ b/src/main/resources/script/executeQuery.groovy
@@ -16,7 +16,7 @@ class PostgreSQLException extends Exception {}
def content = request.getContent().asMap()
-assert content.sql != null
+content.sql = (content.sql ?: "")
assert content.db_type_id
assert content.schema_short_code