aboutsummaryrefslogtreecommitdiff
path: root/migrations/csrfToken
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-01-28 17:51:00 +0000
committerr <r@freesoftwareextremist.com>2020-01-28 17:58:29 +0000
commit2af37d47783aac8c650ffd1578e2297b5784c73d (patch)
tree7b5c7a4b2fa530285bfaa16324e818d97dd00408 /migrations/csrfToken
parent57d2a4288b02fd1245ee85ae629649798578cf6c (diff)
downloadbloat-2af37d47783aac8c650ffd1578e2297b5784c73d.tar.gz
bloat-2af37d47783aac8c650ffd1578e2297b5784c73d.zip
Refactor everything
Diffstat (limited to 'migrations/csrfToken')
-rw-r--r--migrations/csrfToken/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/migrations/csrfToken/main.go b/migrations/csrfToken/main.go
index 38ffbac..3d9526d 100644
--- a/migrations/csrfToken/main.go
+++ b/migrations/csrfToken/main.go
@@ -59,12 +59,12 @@ func main() {
sessionRepo := repository.NewSessionRepository(sessionDB)
- sessionIds, err := getKeys(sessionRepoPath)
+ sessionIDs, err := getKeys(sessionRepoPath)
if err != nil {
log.Fatal(err)
}
- for _, id := range sessionIds {
+ for _, id := range sessionIDs {
s, err := sessionRepo.Get(id)
if err != nil {
log.Println(id, err)