From cba0744e6ef8e7af47bb740457647c31730f20e8 Mon Sep 17 00:00:00 2001 From: Adam Rutkowski Date: Tue, 28 Nov 2023 10:31:43 +0100 Subject: [PATCH] Fix typespec --- lib/plausible_web/plugs/first_launch_plug.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plausible_web/plugs/first_launch_plug.ex b/lib/plausible_web/plugs/first_launch_plug.ex index adacde4fc..8bf81056a 100644 --- a/lib/plausible_web/plugs/first_launch_plug.ex +++ b/lib/plausible_web/plugs/first_launch_plug.ex @@ -7,7 +7,7 @@ defmodule PlausibleWeb.FirstLaunchPlug do @moduledoc """ Test helper for setup blocks allowing to skip the plug processing """ - @spec skip(map()) :: map() + @spec skip(map()) :: {:ok, map()} def skip(context) do conn = Plug.Conn.put_private(context.conn, PlausibleWeb.FirstLaunchPlug, :skip) {:ok, Map.put(context, :conn, conn)}