Skip to content

Commit

Permalink
Merge pull request #94 from jancajthaml-openbank/bugfix/get-active-to…
Browse files Browse the repository at this point in the history
…kens

nit
  • Loading branch information
jancajthaml authored Apr 30, 2019
2 parents 1127983 + 691a376 commit f63b923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/fio-bco-import/daemon/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (fio FioImport) getActiveTokens() ([]string, error) {
return nil, err
}
notBefore := time.Now().Add(time.Second * time.Duration(-6))
uniq := make([]string, 0, len(tokens))
uniq := make([]string, 0)
visited := make(map[string]bool)
for _, token := range tokens {
if !token.CreatedAt.Before(notBefore) {
Expand Down

0 comments on commit f63b923

Please sign in to comment.