lib/pleroma/web/activity_pub/side_effects.ex:622:callback_type_mismatch Type mismatch for @callback handle_after_transaction/1 in Pleroma.Web.ActivityPub.SideEffects.Handling behaviour. Expected type: map() Actual type: Keyword.t() lib/pleroma/web/activity_pub/side_effects.ex:622:callback_arg_type_mismatch The inferred type for the 1st argument is not a supertype of the expected type for the handle_after_transaction/1 callback in the Pleroma.Web.ActivityPub.SideEffects.Handling behaviour. Success type: Keyword.t() Behaviour callback type: map()
9 lines
364 B
Elixir
9 lines
364 B
Elixir
# Pleroma: A lightweight social networking server
|
|
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
defmodule Pleroma.Web.ActivityPub.SideEffects.Handling do
|
|
@callback handle(map(), keyword()) :: {:ok, map(), keyword()} | {:error, any()}
|
|
@callback handle_after_transaction(keyword()) :: keyword()
|
|
end
|