From 2af37d47783aac8c650ffd1578e2297b5784c73d Mon Sep 17 00:00:00 2001 From: r Date: Tue, 28 Jan 2020 17:51:00 +0000 Subject: Refactor everything --- migrations/csrfToken/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'migrations') 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) -- cgit v1.2.3