added table cleaner for user sign up processes

alpha
alex 2023-03-04 22:14:39 +01:00
parent ee148b1843
commit cedfd94aa4
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func TableCleaner() {
if len(expiredUserSignUpProcesses) > 0 {
batch := Session.NewBatch(gocql.UnloggedBatch)
q := "DELETE FROM clicknjoin.user_sign_up_process WHERE x_token = ?"
q := "DELETE FROM " + Cluster.Keyspace + "." + gocnjhelper.DbMUserSignUpProcess.Name() + " WHERE x_token = ?"
for _, us := range expiredUserSignUpProcesses {
batch.Query(q, us.XToken)