aboutsummaryrefslogtreecommitdiff
path: root/verification.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-28 18:12:10 -0800
committerFChannel <=>2021-01-28 18:12:10 -0800
commit42e7acc965daea755a84064f68e4eebf3e3b2e11 (patch)
treed9c270771bcf0f9aac589d637435e920a14a519d /verification.go
parente06b4e233382155808366538ed9075c3eeb351d2 (diff)
nil pointers .........
Diffstat (limited to 'verification.go')
-rw-r--r--verification.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/verification.go b/verification.go
index e0d94b8..97f80bf 100644
--- a/verification.go
+++ b/verification.go
@@ -190,7 +190,7 @@ func GetVerificationCode(db *sql.DB, verify Verify) Verify {
CheckError(err, "error getting verify by code scan")
}
- return verify
+ return nVerify
}
func VerifyCooldownCurrent(db *sql.DB, auth string) VerifyCooldown {