We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d325e4b commit 7a8a110Copy full SHA for 7a8a110
src/dashboard/Push/PushNew.react.js
@@ -214,7 +214,11 @@ export default class PushNew extends DashboardView {
214
// Only set the audience ID if it is a saved audience.
215
if (audience_id != PushConstants.NEW_SEGMENT_ID && audience_id != "everyone") {
216
body.audience_id = audience_id;
217
+ const pushAudience = this.props.pushaudiences.data.get('audiences').toJS()
218
+ .find((a) => a.objectId === audience_id);
219
+ body.where = pushAudience.query;
220
}
221
+
222
Parse.Push.send(body, {
223
useMasterKey: true,
224
}).then(({ error }) => {
0 commit comments