From 88d9ee01cfe77e2737e6d0b5a4ffe421b7de79d3 Mon Sep 17 00:00:00 2001 From: TzeYiing Date: Wed, 8 May 2024 23:50:45 +0800 Subject: [PATCH] chore: fix typespecs --- lib/logflare/sources/rules.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logflare/sources/rules.ex b/lib/logflare/sources/rules.ex index 2378bce59..cf3c72909 100644 --- a/lib/logflare/sources/rules.ex +++ b/lib/logflare/sources/rules.ex @@ -49,7 +49,7 @@ defmodule Logflare.Rules do @doc """ Updates a given rule. """ - @spec update_rule(Rule.t(), map()) + @spec update_rule(Rule.t(), map()) :: {:ok, Rule.t()} | {:error, Ecto.Changeset.t()} def update_rule(%Rule{} = rule, attrs) do rule |> Rule.changeset(attrs)