summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre de Lacroix <pierre@pdelacroix.com>2021-04-10 18:40:23 +0200
committerPierre de Lacroix <pierre@pdelacroix.com>2021-04-10 18:40:23 +0200
commit99ab68b955a99169645fd5ede690c0757e69f812 (patch)
tree8df12470822a956b46ade59fd8a5c6cde7b66b45
parentMerge branch 'post_register' into kazarma (diff)
fix missing application_service client parameter
-rw-r--r--lib/polyjuice/client/low_level.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/polyjuice/client/low_level.ex b/lib/polyjuice/client/low_level.ex
index c4329c0..94dbcb6 100644
--- a/lib/polyjuice/client/low_level.ex
+++ b/lib/polyjuice/client/low_level.ex
@@ -153,6 +153,7 @@ defmodule Polyjuice.Client.LowLevel do
- `device_id`: the device ID
- `storage`: (required by sync) the storage backend to use (see
`Polyjuice.Client.Storage`)
+ - `application_service`: wether to connect as an application service
"""
@spec create(base_url :: String.t(), opts :: Keyword.t()) :: t()
def create(base_url, opts \\ []) when is_binary(base_url) do
@@ -164,6 +165,7 @@ defmodule Polyjuice.Client.LowLevel do
user_id: Keyword.get(opts, :user_id),
device_id: Keyword.get(opts, :device_id),
storage: Keyword.get(opts, :storage),
+ application_service: Keyword.get(opts, :application_service, false),
test: Keyword.get(opts, :test, false)
}
end