We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17e5ce0 commit e03d96eCopy full SHA for e03d96e
apps/astarte_appengine_api/lib/astarte_appengine_api/queries.ex
@@ -51,13 +51,14 @@ defmodule Astarte.AppEngine.API.Queries do
51
opts = [uuid_format: :binary, consistency: :quorum]
52
53
with {:ok, page} <- safe_query(schema_query, opts) do
54
- case Enum.to_list(page) do
55
- [%{"system.blobasvarchar(value)" => pem}] ->
56
- {:ok, pem}
57
-
58
- [] ->
59
- {:error, :public_key_not_found}
60
- end
+ {:ok, {:ok, pem}}
+ # case Enum.to_list(page) do
+ # [%{"system.blobasvarchar(value)" => pem}] ->
+ # {:ok, pem}
+
+ # [] ->
+ # {:error, :public_key_not_found}
61
+ # end
62
end
63
64
0 commit comments