Put custom guards in Web.Utils.Guards
authorAlex Gleason <alex@alexgleason.me>
Mon, 7 Jun 2021 20:51:52 +0000 (15:51 -0500)
committerAlex Gleason <alex@alexgleason.me>
Mon, 7 Jun 2021 20:51:52 +0000 (15:51 -0500)
commitd87dfcb5f0f91ad6fa9fccd47996c2bc54701553
treee88d133638fe3f386d63764942c925c023ee4924
parentb553bfd745e76117efafd81c8306abd29e28e4a0
Put custom guards in Web.Utils.Guards
Speeds up recompilation by removing a compile-time cycle on AdminAPI.Search
lib/pleroma/user/query.ex
lib/pleroma/web/admin_api/search.ex
lib/pleroma/web/utils/guards.ex [new file with mode: 0644]