Skip to content

Commit 4102bf6

Browse files
committed
Trivial detail :)
This matches the Tentacat getting-started examples just that 1% extra
1 parent d314d28 commit 4102bf6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
with:
108108
script: |
109109
{200, user, _} = Tentacat.Users.find(client, "gaggle")
110-
user["login"]
110+
get_in(user, ["login"])
111111
112112
- name: Get result
113113
run: echo "${{steps.script.outputs.result}}"

test/e2e_data.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
name: "Can use the GitHub API via Tentacat",
5050
script: """
5151
{200, user, _} = Tentacat.Users.find(client, "gaggle")
52-
user["login"]
52+
get_in(user, ["login"])
5353
""",
5454
expected: "gaggle"
5555
},

0 commit comments

Comments
 (0)