Skip to content

Commit 31c040f

Browse files
committed
chore: fix typos in comments and tests
No code changes. This commit includes the following changes: - "ba" used instead of "be" in a comment - "typ" use instead of "type" in a JSON string in a test.
1 parent 71c87bf commit 31c040f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/gofr/datasource/sql/db.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func (t *Tx) Rollback() error {
183183
}
184184

185185
// Select runs a query with args and binds the result of the query to the data.
186-
// data should ba a point to a slice, struct or any type. Slice will return multiple
186+
// data should be a point to a slice, struct or any type. Slice will return multiple
187187
// objects whereas struct will return a single object.
188188
//
189189
// Example Usages:

pkg/gofr/http/middleware/oauth_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func TestGetJwtClaims(t *testing.T) {
4040
claims := []byte(`{"aud":"stage.kops.dev","iat":1257894000,"orig":"GOOGLE",` +
4141
`"picture":"https://lh3.googleusercontent.com/a/ACg8ocKJ5DDA4zruzFlsQ9KvL` +
4242
`jHDtbOT_hpVz0hEO8jSl2m7Myk=s96-c","sub":"rakshit.singh@zopsmart.com","sub-id"` +
43-
`:"a6573e1d-abea-4863-acdb-6cf3626a4414","typ":"refresh_token"}`)
43+
`:"a6573e1d-abea-4863-acdb-6cf3626a4414","type":"refresh_token"}`)
4444

4545
router := mux.NewRouter()
4646
router.HandleFunc("/test", func(w http.ResponseWriter, r *http.Request) {

0 commit comments

Comments
 (0)