Skip to content

Commit

Permalink
fix: simplify cachedauth data write
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Huck committed Oct 27, 2023
1 parent 3cb767c commit 3ca63fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/auth/yaml_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (y *YamlStorage) WriteCalendarAuth(newCal CalendarAuth) (bool, error) {
// Adding freshly written CalendarAuth to memory
// Probably unneeded, the next time this data will be retrieved is on the next calendarsync run
log.Debugf("Adding calendar auth for cal %s to memory", newCal.CalendarID)
y.DecryptedAuth = append(y.DecryptedAuth, newCal)
y.CachedAuth = cals

return true, nil
}
Expand Down

0 comments on commit 3ca63fa

Please sign in to comment.