query fix & controller build fix

This commit is contained in:
Grant Limberg 2021-11-30 16:18:34 -08:00
parent 4a1d6f4cc8
commit d15516f0ef
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A
3 changed files with 5 additions and 3 deletions

View file

@ -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);