forked from dasrick/go-teams-notify
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong json key name for URL (uses uri instead) #179
Labels
Milestone
Comments
Thank you for the report, and it looks like you're right:
I'll fix this momentarily. |
atc0005
added a commit
that referenced
this issue
Jul 20, 2022
Update the JSON key name to match the field name. I mistakenly used the property type for the field instead of the field name itself. refs GH-179
Great! Working like a charm! Thanks for the quick response! :) |
@janfonas You're welcome. Thanks for taking the time to file a report, it is much appreciated! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been trying to add an image to a message, but failing. Did a
prettyPrint()
of the json, and I see that theurl
key is missing, but it does have auri
key, with the value fromUrl
in my code. Looking at the docs from MS, I think this should beurl
.go-teams-notify/adaptivecard/adaptivecard.go
Line 481 in 9b58fce
Should not this be
json:"url,omitempty"
and notjson:"uri,omitempty"
The text was updated successfully, but these errors were encountered: