-
Notifications
You must be signed in to change notification settings - Fork 44
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
Mkaleem.neslit.10140.email digest #10338
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a couple of small details in comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codewise looks good, didn't test locally.
@Rotorsoft i updated test case for unsubscribe_link can you review that |
@@ -1,19 +1,24 @@ | |||
import { ExternalServiceUserIds, dispose, query } from '@hicommonwealth/core'; | |||
import { models } from '@hicommonwealth/model'; | |||
import { Community } from '@hicommonwealth/schemas'; | |||
import { Community, User } from '@hicommonwealth/schemas'; | |||
|
|||
import { expect } from 'chai'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are trying to use expect from vitest, to eventually remove chai from the project
@KaleemNeslit please review and merge |
Link to Issue
Closes: #10140
Description of Changes
For some reason, Liquid doesn't seem to evaluate the variable properly when used with the square bracket notation (communities[name]). Instead, it seems to look for a key literally named test, not the value inside the variable.
the same code work in different Liquid base editor face the issue with "Knock eidtior"
"How We Fixed It"
For some reason, Liquid doesn't seem to evaluate the variable properly when used with the square bracket notation (communities[name]). Instead, it seems to look for a key literally named test, not the value inside the variable.
the same code work in different Liquid base editor face the issue with "Knock eidtior"