Skip to content

Commit

Permalink
Update blox.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Feb 2, 2025
1 parent ce19f2a commit 59b8eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockchain/blox.go
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ func (bl *FxBlockchain) handleChatWithAI(ctx context.Context, from peer.ID, w ht

// Set up headers for streaming response
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(http.StatusAccepted)
w.WriteHeader(http.StatusOK)

flusher, ok := w.(http.Flusher)
if !ok {
Expand Down

0 comments on commit 59b8eb3

Please sign in to comment.