summaryrefslogtreecommitdiff
path: root/controller/PostgreSQL.cpp
diff options
context:
space:
mode:
authorGrant Limberg <[email protected]>2021-06-04 11:43:42 -0700
committerGrant Limberg <[email protected]>2021-06-04 11:43:42 -0700
commit7941b63543c73742ae771b4af4a2af324c3da11d (patch)
tree9169fc740925b887e4e052484ed31f8350b1fd6e /controller/PostgreSQL.cpp
parent21965ac8e8a508158f8e1353894cc5dadc232a8d (diff)
another typo
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 ce75d646..1e90a31b 100644
--- a/controller/PostgreSQL.cpp
+++ b/controller/PostgreSQL.cpp
@@ -348,7 +348,7 @@ std::string PostgreSQL::getSSOAuthURL(const nlohmann::json &member)
nonce = std::string(nonceBuf);
pqxx::result ir = w.exec_params0("INSERT INTO ztc_sso_expiry "
- "(nonce, nonce_expiry, network_id, member_id) VALUES "
+ "(nonce, nonce_expiration, network_id, member_id) VALUES "
"($1, TO_TIMESTAMP($2::double precision/1000) $3, $4)",
nonce, OSUtils::now() + 300000, networkId, memberId);
} else {