Skip to content

Commit

Permalink
Fix interpolation.
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch committed Jun 21, 2024
1 parent 72742a6 commit 46be1ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/server.toit
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ main:
"""
else if resource == "/post-json" and request.method == http.POST:
decoded := json.decode-stream request.body
print "Received JSON: decoded"
print "Received JSON: $decoded"
else if resource == "/json":
writer.headers.set "Content-Type" "application/json"
writer.out.write
Expand Down

0 comments on commit 46be1ca

Please sign in to comment.