Skip to content

Commit

Permalink
remove init_key
Browse files Browse the repository at this point in the history
  • Loading branch information
yujonglee committed Sep 20, 2024
1 parent fd027b1 commit f5db7c9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
1 change: 0 additions & 1 deletion core/lib/canary/accounts/account.ex
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ defmodule Canary.Accounts.Account do
end

changes do
change Canary.Accounts.Changes.InitKey, on: [:create]
change Canary.Accounts.Changes.InitBilling, on: [:create]
end

Expand Down
2 changes: 2 additions & 0 deletions core/lib/canary/accounts/billing.ex
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ defmodule Canary.Accounts.Billing do
defaults [:read]

create :create do
primary? true

argument :account, :map, allow_nil?: false
argument :stripe_customer, :map, allow_nil?: true
argument :stripe_subscription, :map, allow_nil?: true
Expand Down
19 changes: 0 additions & 19 deletions core/lib/canary/accounts/changes/init_key.ex

This file was deleted.

0 comments on commit f5db7c9

Please sign in to comment.