Skip to content

Commit

Permalink
Allow the RPC method to be either a keyword or string
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmotta committed Jan 26, 2024
1 parent 20f10dd commit 59f1ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema/common.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{:min 1}
[:map
{:closed true}
[:method :string]
[:method [:or :keyword :string]]
[:params [:sequential :any]]
[:js-response {:optional true} :any]
[:on-success [:or fn? [:cat keyword? [:* :any]]]]
Expand Down

0 comments on commit 59f1ab8

Please sign in to comment.