Fix build warning

This commit is contained in:
tusooa 2023-05-09 21:38:28 -04:00
parent be5c5118cb
commit e170fc40dd
No known key found for this signature in database
GPG Key ID: 42AEC43D48433C51

View File

@ -253,7 +253,6 @@ defmodule Pleroma.Object.Updater do
def do_update_and_invalidate_cache(orig_object, updated_object, touch_changeset? \\ false) do def do_update_and_invalidate_cache(orig_object, updated_object, touch_changeset? \\ false) do
orig_object_ap_id = updated_object["id"] orig_object_ap_id = updated_object["id"]
orig_object = Object.get_by_ap_id(orig_object_ap_id)
orig_object_data = orig_object.data orig_object_data = orig_object.data
%{ %{