We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b558c9 commit 469b02dCopy full SHA for 469b02d
README.md
@@ -58,7 +58,7 @@ const template = await fern.templates.get({
58
59
// Build a snippet with a payload, this happens on the client side,
60
// without need for another API call, improving latency dramatically.
61
-const snippet1 = template.resolve({
+const snippet1 = await template.resolve({
62
pathParameters: [{
63
name: "someFilter",
64
value: "test1"
@@ -69,7 +69,7 @@ const snippet1 = template.resolve({
69
})
70
71
// You can build as many snippets as you'd like!
72
-const snippet2 = template.resolve({
+const snippet2 = await template.resolve({
73
74
75
value: "anotherTest"
0 commit comments