Resolve follow activity from accept/reject without ID (#328)
[akkoma] / lib / pleroma / web / activity_pub / object_validator / validating.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 defmodule Pleroma.Web.ActivityPub.ObjectValidator.Validating do
6 @callback validate(map(), keyword()) :: {:ok, map(), keyword()} | {:error, any()}
7 end