Skip to content

Commit

Permalink
Simplify schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmotta committed Feb 6, 2024
1 parent 5dcfcc4 commit 5486008
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
[:map-of
?account-address
[:sequential
[:map {:closed true}
[:map
[:type int?]
[:symbol string?]
[:decimals int?]
Expand All @@ -50,11 +50,9 @@
[:cofx :schema.re-frame/cofx]
[:args
[:schema
[:?
[:catn
[:community-id string?]
[:response ?permissioned-balances-response]]]]]]
[:map {:closed true}
[:db map?]]])
[:catn
[:community-id string?]
[:response ?permissioned-balances-response]]]]]
map?])

(rf/reg-event-fx :communities/get-permissioned-balances-success get-permissioned-balances-success)

0 comments on commit 5486008

Please sign in to comment.