Created
April 14, 2023 00:41
-
-
Save rayrayzayzay/7ecdc80a4c0cd5a39c4d749c2c50ecd1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plug MyAppWeb.Plugs.CheckFeatureFlag, | |
:upload_anything when action in [:import_layer, :import_elements] | |
def import_layer(conn, params) do | |
# Will run if feature flag is enabled, fail otherwise | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment