fix: convert access level to string via helper

This commit is contained in:
anthonyrawlins
2025-09-28 14:10:06 +10:00
parent 2207d31f76
commit d074520c30

View File

@@ -141,7 +141,7 @@ func (ls *LocalStorageImpl) Store(
if options != nil { if options != nil {
entry.TTL = options.TTL entry.TTL = options.TTL
entry.Compressed = options.Compress entry.Compressed = options.Compress
entry.AccessLevel = string(options.AccessLevel) entry.AccessLevel = options.AccessLevel.String()
// Copy metadata // Copy metadata
for k, v := range options.Metadata { for k, v := range options.Metadata {