Skip to content

Commit

Permalink
Revert property name change.
Browse files Browse the repository at this point in the history
  • Loading branch information
techanvil committed Feb 17, 2025
1 parent 89ddb91 commit 644bf77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/js/modules/analytics-4/datastore/audiences.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,12 +594,12 @@ const baseActions = {

dispatch( CORE_USER ).setConfiguredAudiences( configuredAudiences );

const { error: saveAudienceSettingsError } = yield commonActions.await(
const { error } = yield commonActions.await(
dispatch( CORE_USER ).saveAudienceSettings()
);

if ( saveAudienceSettingsError ) {
return { error: saveAudienceSettingsError };
if ( error ) {
return { error };
}

// Expire new badges for initially configured audiences.
Expand Down

0 comments on commit 644bf77

Please sign in to comment.