From 7f697c4bc324d487e890c6c31a152188196e4164 Mon Sep 17 00:00:00 2001 From: Jake Morrison Date: Mon, 1 Jan 2024 22:36:30 -0600 Subject: [PATCH] Fix syntax --- lib/absinthe_federation_example/application.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/absinthe_federation_example/application.ex b/lib/absinthe_federation_example/application.ex index e9e762c..c78cac3 100644 --- a/lib/absinthe_federation_example/application.ex +++ b/lib/absinthe_federation_example/application.ex @@ -17,7 +17,7 @@ defmodule AbsintheFederationExample.Application do roles = Application.get_env(@app, :roles, [:api]) Logger.info("Starting with roles: #{inspect(roles)}") - children = [ + children = List.flatten([ AbsintheFederationExampleWeb.Telemetry, AbsintheFederationExample.Repo, @@ -25,7 +25,7 @@ defmodule AbsintheFederationExample.Application do {Phoenix.PubSub, name: PhoenixContainerExample.PubSub}, # Start the Finch HTTP client for sending emails {Finch, name: PhoenixContainerExample.Finch}, - AbsintheFederationExampleWeb.Endpoint + AbsintheFederationExampleWeb.Endpoint, cluster_supervisor() ])