summaryrefslogtreecommitdiff
path: root/app/models/api
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/api')
-rw-r--r--app/models/api/row.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/api/row.rb b/app/models/api/row.rb
index ac35516..e82a3e2 100644
--- a/app/models/api/row.rb
+++ b/app/models/api/row.rb
@@ -28,7 +28,7 @@ class Api::Row < ActiveRecord::Base
end
def create_a_new_gemeinschaft_user
- tenant = Tenant.find(DEFAULT_API_TENANT_ID)
+ tenant = Tenant.find(GsParameter.get('DEFAULT_API_TENANT_ID'))
# Find or create the user
#