Skip to content

Commit

Permalink
fix: properly enumerate :_pkey in notifier
Browse files Browse the repository at this point in the history
fixes #1818
  • Loading branch information
zachdaniel committed Feb 25, 2025
1 parent ba186fd commit 0bd0220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ash/notifier/pub_sub/pub_sub.ex
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ defmodule Ash.Notifier.PubSub do
previous_values?,
trail
) do
pkey = notification.changeset.resource
pkey = Ash.Resource.Info.primary_key(notification.changeset.resource)

all_combinations_of_values(rest, notification, action_type, previous_values?, [
Enum.map_join(pkey, "-", &Map.get(notification.data, &1)) | trail
Expand Down

0 comments on commit 0bd0220

Please sign in to comment.