Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: maptiler external key as secret #59

Conversation

cristineguadelupe
Copy link
Collaborator

No description provided.

@@ -21,12 +21,17 @@ defmodule KinoMapLibre.MapCell do

@impl true
def init(attrs, ctx) do
use_maptiler_key_secret =
if Map.has_key?(attrs, "use_maptiler_key_secret"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you can use Map.get with a default value of true?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep!

@cristineguadelupe cristineguadelupe merged commit 106714d into livebook-dev:main Sep 5, 2023
1 check passed
@cristineguadelupe cristineguadelupe deleted the cg-fix-external-maptiler-key branch September 5, 2023 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants