summaryrefslogtreecommitdiff
path: root/controller/PostgreSQL.cpp
diff options
context:
space:
mode:
authorGrant Limberg <[email protected]>2021-11-30 16:18:34 -0800
committerGrant Limberg <[email protected]>2021-11-30 16:18:34 -0800
commitd15516f0ef5e2fd06a91a88144e7ca793e4da75b (patch)
tree359bfa2a026ff0a95e6726b7f7e83aa582acff63 /controller/PostgreSQL.cpp
parent4a1d6f4cc828d7aa4ac76ca5558cac87167de1b0 (diff)
query fix & controller build fix
Diffstat (limited to 'controller/PostgreSQL.cpp')
-rw-r--r--controller/PostgreSQL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp
index f79c8725..14e21054 100644
--- a/controller/PostgreSQL.cpp
+++ b/controller/PostgreSQL.cpp
@@ -392,7 +392,7 @@ AuthInfo PostgreSQL::getSSOAuthInfo(const nlohmann::json &member, const std::str
exit(6);
}
- r = w.exec_params("SELECT org.client_id, org.authorization_endpoint, org.sso_version "
+ r = w.exec_params("SELECT org.client_id, org.authorization_endpoint, org.sso_impl_version "
"FROM ztc_network AS nw, ztc_org AS org "
"WHERE nw.id = $1 AND nw.sso_enabled = true AND org.owner_id = nw.owner_id", networkId);