Skip to content

Commit 127aa3d

Browse files
committed
fix: save tags when upload with websocket
1 parent 8a541d3 commit 127aa3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/api/chunk_stream.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414
"github.com/ethersphere/bee/v2/pkg/jsonhttp"
1515
"github.com/ethersphere/bee/v2/pkg/log"
1616
"github.com/ethersphere/bee/v2/pkg/postage"
17-
storage "github.com/ethersphere/bee/v2/pkg/storage"
18-
storer "github.com/ethersphere/bee/v2/pkg/storer"
17+
"github.com/ethersphere/bee/v2/pkg/storage"
18+
"github.com/ethersphere/bee/v2/pkg/storer"
1919
"github.com/ethersphere/bee/v2/pkg/swarm"
2020
"github.com/gorilla/websocket"
2121
)
@@ -56,7 +56,7 @@ func (s *Service) chunkUploadStreamHandler(w http.ResponseWriter, r *http.Reques
5656
}
5757

5858
// if tag not specified use direct upload
59-
putter, err := s.newStamperPutter(r.Context(), putterOptions{
59+
putter, err := s.newStamperPutter(context.Background(), putterOptions{
6060
BatchID: headers.BatchID,
6161
TagID: tag,
6262
Deferred: tag != 0,

0 commit comments

Comments
 (0)