Skip to content

Commit

Permalink
Mini fix + version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
corbadoman committed Jan 21, 2024
1 parent 1ce302b commit 584dc9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/stdlib/authtokens/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package main

import (
"context"
"fmt"
"net/http"

Expand Down Expand Up @@ -33,7 +34,7 @@ func main() {
},
}

response, err := sdk.AuthTokens().Validate(r.Context(), request)
response, err := sdk.AuthTokens().Validate(context.Background(), request)
if err != nil {
if serverErr := corbado.AsServerError(err); serverErr != nil {
fmt.Fprintf(w, serverErr.Error())
Expand Down
2 changes: 1 addition & 1 deletion sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/corbado/corbado-go/pkg/servererror"
)

const Version = "1.0.3"
const Version = "1.0.4"

type SDK interface {
AuthTokens() authtoken.AuthToken
Expand Down

0 comments on commit 584dc9d

Please sign in to comment.