From 6fdb3e75dad15523d996e457c216647755b29101 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Tue, 23 Jun 2020 19:06:38 +0200 Subject: Revamp one endpoint as experiment --- opendc/models/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc/models/user.py') diff --git a/opendc/models/user.py b/opendc/models/user.py index fde45b0c..0406c31c 100644 --- a/opendc/models/user.py +++ b/opendc/models/user.py @@ -12,7 +12,7 @@ class User(Model): } } - TABLE_NAME = 'users' + COLLECTION_NAME = 'users' COLUMNS = ['id', 'google_id', 'email', 'given_name', 'family_name'] COLUMNS_PRIMARY_KEY = ['id'] -- cgit v1.2.3