Skip to content

Commit b071131

Browse files
rodriguesmattpolzin
authored andcommitted
fix: Compiler warning for zero-arity fields function call
1 parent d0ceafc commit b071131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jsonapi/plugs/query_parser.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ defmodule JSONAPI.QueryParser do
279279
if type == view.type() do
280280
view.fields()
281281
else
282-
get_view_for_type(view, type).fields
282+
get_view_for_type(view, type).fields()
283283
end
284284
end
285285

0 commit comments

Comments
 (0)