Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-paliychuk committed Oct 18, 2024
1 parent e957407 commit 3d5341f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/user_graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ func main() {

client := zepclient.NewClient(
option.WithAPIKey(apiKey),
option.WithBaseURL("https://api.development.getzep.com/api/v2"),
)

ctx := context.Background()
Expand Down Expand Up @@ -102,7 +101,7 @@ func main() {
fmt.Printf("%+v\n", episodeResult.Episodes)

if len(episodeResult.Episodes) > 0 {
episode, err := client.Graph.Episode.Get(ctx, *episodeResult.Episodes[0].UUID)
episode, err := client.Graph.Episode.Get(ctx, episodeResult.Episodes[0].UUID)
if err != nil {
fmt.Printf("Error getting episode: %v\n", err)
return
Expand Down

0 comments on commit 3d5341f

Please sign in to comment.