Created
October 19, 2018 01:15
-
-
Save joshgoebel/6478367a491c8d7923faad0151683c94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template render*(body: string) :untyped = | |
if (resp.code == 0): | |
resp.code = 200 | |
resp.body = body | |
### How do I write this without changing resp.body? body in the template is wrongly taking it's place also. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment