fix: typo in queuestore.go

This commit is contained in:
Harshavardhana 2025-02-15 02:31:50 -08:00
parent 437dd4e32a
commit b8544266e5

View File

@ -156,7 +156,7 @@ func (store *QueueStore[I]) multiWrite(key Key, items []I) (err error) {
// write - writes an item to the directory. // write - writes an item to the directory.
func (store *QueueStore[I]) write(key Key, item I) error { func (store *QueueStore[I]) write(key Key, item I) error {
// Marshalls the item. // Marshals the item.
eventData, err := json.Marshal(item) eventData, err := json.Marshal(item)
if err != nil { if err != nil {
return err return err