Skip to content

Commit

Permalink
remove tee log
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondborneman committed Dec 20, 2023
1 parent da442f4 commit 096a49f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Bsky/Bsky.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,6 @@ func PostWithMedia(message string, media [][]byte) error {
return uploadImgErr
}
bskyBlob := &BskyImageUploadResp{}
var tempBuf bytes.Buffer
tee := io.TeeReader(uploadImgResp.Body, &tempBuf)
str, _ := io.ReadAll(tee)
log.Printf("TEEEEEEEE: %s", str)
decodeErr := json.NewDecoder(uploadImgResp.Body).Decode(bskyBlob)
if decodeErr != nil {
log.Fatalf("Error decoding Bsky Blob response: %s", decodeErr)
Expand Down

0 comments on commit 096a49f

Please sign in to comment.