master
Bel LaPointe 2023-11-09 08:16:05 -07:00
parent 2c15c093bb
commit 736d446d40
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ func (b *Bolt) Set(key string, value []byte, ns ...string) error {
return err
}
if value == nil {
return bkt.Delete(key)
return bkt.Delete([]byte(key))
}
return bkt.Put([]byte(key), value)
})