Skip to content

Commit

Permalink
fix: Remove quotes from qrcode. (#316)
Browse files Browse the repository at this point in the history
This commit fixes a bug where the URL contains quotes.
  • Loading branch information
betterengineering authored Jul 11, 2022
1 parent bf90fbb commit 30f8bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/modules/qrcode/qrcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func generateQRCode(thread *starlark.Thread, _ *starlark.Builtin, args starlark.
return nil, fmt.Errorf("size must be small, medium, or large")
}

url := starUrl.String()
url := starUrl.GoString()
code, err := goqrcode.NewWithForcedVersion(url, version, goqrcode.Low)
if err != nil {
return nil, err
Expand Down

0 comments on commit 30f8bd0

Please sign in to comment.