From c0dd246a20914e3c39c40a709d7723aa4b21a605 Mon Sep 17 00:00:00 2001 From: Marc Worrell Date: Wed, 22 Jun 2022 10:51:07 +0200 Subject: [PATCH] Fix type --- src/cowmachine_response.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cowmachine_response.erl b/src/cowmachine_response.erl index 9117a9c..6b3b158 100644 --- a/src/cowmachine_response.erl +++ b/src/cowmachine_response.erl @@ -295,7 +295,7 @@ response_headers(Context) -> -spec send_stream_body(FunContext, Context) -> Result when FunContext :: {InitialData, InitialFun} | InitialFun, InitialData :: binary() | {file, Filename} | {file, Size, Filename} | done | WriterFun, - Filename :: filelib:filename_all(), + Filename :: file:filename_all(), WriterFun :: function(), Size :: non_neg_integer(), InitialFun :: function(),