Skip to content

Commit

Permalink
Merge pull request #995 from joshuaslate/chore/webhook-typo-fix
Browse files Browse the repository at this point in the history
Fix comment typos
  • Loading branch information
brandur-stripe authored Nov 25, 2019
2 parents 2a296f8 + a6f0526 commit 02f0565
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bitcointransaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type BitcoinTransactionListParams struct {
}

// BitcoinTransactionList is a list object for BitcoinTransactions.
// It is a child object of BitcoinRecievers
// It is a child object of BitcoinReceivers
// For more details see https://stripe.com/docs/api/#retrieve_bitcoin_receiver
type BitcoinTransactionList struct {
ListMeta
Expand Down
2 changes: 1 addition & 1 deletion webhook/client_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

func Example() {
http.HandleFunc("/webhook", func(w http.ResponseWriter, req *http.Request) {
// Protects against a malicious client streaming us an endless requst
// Protects against a malicious client streaming us an endless request
// body
const MaxBodyBytes = int64(65536)
req.Body = http.MaxBytesReader(w, req.Body, MaxBodyBytes)
Expand Down

0 comments on commit 02f0565

Please sign in to comment.