fix: convert access level to string via helper
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user