Skip to content

Commit

Permalink
Merge pull request #17 from scorebet/jeffs/SBAPI-547/investigate-upgr…
Browse files Browse the repository at this point in the history
…ading-to-elixir-117erlang-27
  • Loading branch information
paradox460 authored Jul 18, 2024
2 parents b5b7ffa + e9f0fce commit 71f4455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grpc/server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ defmodule GRPC.Server do
codecs = opts[:codecs] || [GRPC.Codec.Proto, GRPC.Codec.WebText]
compressors = opts[:compressors] || []

Enum.each(service_mod.__rpc_calls__, fn {name, _, _} = rpc ->
Enum.each(service_mod.__rpc_calls__(), fn {name, _, _} = rpc ->
func_name = name |> to_string |> Macro.underscore() |> String.to_atom()
path = "/#{service_name}/#{name}"
grpc_type = GRPC.Service.grpc_type(rpc)
Expand Down

0 comments on commit 71f4455

Please sign in to comment.