FAQ | This is a LIVE service | Changelog

Skip to content

fix: use dict directly rather than string template, as this caused encoding issues

Roy Harrington requested to merge 6-encode-json-strings into main

The way this was originally implemented wasn't great. It turned a dict into a string template, then did string replacement, then turned back into a dict. When a string contained quotes or special chars, this went wrong. Best just to use a dict throughout, until we need to turn into JSON, then any encoding is handled automatically.

Closes #6 (closed)

Teams Message Fix Example

Edited by Roy Harrington

Merge request reports

Loading