Skip to content
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

[Bug]: GetNotification - NotificationWithMeta doesn't contain the Contents field when using a template_id #16

Open
1 task done
lsgndln opened this issue Sep 12, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@lsgndln
Copy link

lsgndln commented Sep 12, 2022

What happened?

After having send a notification with a TemplateId, when I use the GetNotification endpoint, the field Contents is empty.

Steps to reproduce?

- Send a notification with a template_id
- Use the GetNotification endpoint

In api_default.go > `GetNotificationExecute`
the `localVarHTTPResponse` variable has the `contents` field :

"contents":{"en":"Test notification with {{var1}} and {{var2}} inside"},

however `localVarReturnValue` has empty `contents` field

What did you expect to happen?

The field Contents to be filled.

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@lsgndln lsgndln added the bug Something isn't working label Sep 12, 2022
@kesheshyan
Copy link
Contributor

Hey @lsgndln, thanks for reporting this problem, we are looking into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants