Check for updateId, not uid

This commit is contained in:
Ekaterina Vaartis 2022-08-27 01:11:50 +03:00
parent 5ac6763238
commit 6256822afd
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ def add_to_index(activity) do
)
with {:ok, res} <- result,
true <- Map.has_key?(res, "uid") do
true <- Map.has_key?(res, "updateId") do
# Added successfully
:ok
else