Skip to content

Commit 59b8eb3

Browse files
committed
Update blox.go
1 parent ce19f2a commit 59b8eb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blockchain/blox.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ func (bl *FxBlockchain) handleChatWithAI(ctx context.Context, from peer.ID, w ht
575575

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

580580
flusher, ok := w.(http.Flusher)
581581
if !ok {

0 commit comments

Comments
 (0)