Skip to content

Commit

Permalink
[admin] fix client federation entities update
Browse files Browse the repository at this point in the history
  • Loading branch information
patatoid committed Nov 17, 2024
1 parent 90f4e5d commit 3e56347
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ defmodule BorutaFederation.FederationEntities do
{:ok, client_federation_entity :: ClientFederationEntity.t() | nil}
| {:error, changeset :: Ecto.Changeset.t()}
def upsert_client_federation_entity(client_id, nil) do
with {1, _} <-
with {_, _} <-
Repo.delete_all(from cfe in ClientFederationEntity, where: cfe.client_id == ^client_id) do
{:ok, nil}
end
Expand Down

0 comments on commit 3e56347

Please sign in to comment.