summaryrefslogtreecommitdiff
path: root/controller/PostgreSQL.cpp
diff options
context:
space:
mode:
authorGrant Limberg <[email protected]>2021-06-04 12:19:52 -0700
committerGrant Limberg <[email protected]>2021-06-04 12:19:52 -0700
commitfed1846c6f40d8ac22e74372fcb8c5eb1913c957 (patch)
treed92809a85f6c5721db0df4530a72d28b66f1951f /controller/PostgreSQL.cpp
parentf27d193cf632fc6b4c0ed475b0e49a7afc262750 (diff)
need tres commas
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 1e90a31b..aac3c007 100644
--- a/controller/PostgreSQL.cpp
+++ b/controller/PostgreSQL.cpp
@@ -349,7 +349,7 @@ std::string PostgreSQL::getSSOAuthURL(const nlohmann::json &member)
pqxx::result ir = w.exec_params0("INSERT INTO ztc_sso_expiry "
"(nonce, nonce_expiration, network_id, member_id) VALUES "
- "($1, TO_TIMESTAMP($2::double precision/1000) $3, $4)",
+ "($1, TO_TIMESTAMP($2::double precision/1000), $3, $4)",
nonce, OSUtils::now() + 300000, networkId, memberId);
} else {
// > 1 ?!? Thats an error!