projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fix/2189-unpin-activity' into 'develop'
[akkoma]
/
lib
/
pleroma
/
user
/
import.ex
diff --git
a/lib/pleroma/user/import.ex
b/lib/pleroma/user/import.ex
index de27bdc4c14a710762def4222d63e78971992998..e458021c87b1fdb35a1369238bd96c3c4e002dec 100644
(file)
--- a/
lib/pleroma/user/import.ex
+++ b/
lib/pleroma/user/import.ex
@@
-65,20
+65,14
@@
defmodule Pleroma.User.Import do
def blocks_import(%User{} = blocker, [_ | _] = identifiers) do
BackgroundWorker.enqueue(
"blocks_import",
def blocks_import(%User{} = blocker, [_ | _] = identifiers) do
BackgroundWorker.enqueue(
"blocks_import",
- %{
- "blocker_id" => blocker.id,
- "blocked_identifiers" => identifiers
- }
+ %{"user_id" => blocker.id, "identifiers" => identifiers}
)
end
def follow_import(%User{} = follower, [_ | _] = identifiers) do
BackgroundWorker.enqueue(
"follow_import",
)
end
def follow_import(%User{} = follower, [_ | _] = identifiers) do
BackgroundWorker.enqueue(
"follow_import",
- %{
- "follower_id" => follower.id,
- "followed_identifiers" => identifiers
- }
+ %{"user_id" => follower.id, "identifiers" => identifiers}
)
end
)
end