From fed1846c6f40d8ac22e74372fcb8c5eb1913c957 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Fri, 4 Jun 2021 12:19:52 -0700 Subject: [PATCH] need tres commas --- controller/PostgreSQL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp index 1e90a31b3..aac3c007c 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!