Skip to content

Commit e426867

Browse files
committed
Format fn call
1 parent 76acde5 commit e426867

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/code_corps_web/controllers/project_github_repo_controller.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ defmodule CodeCorpsWeb.ProjectGithubRepoController do
2929
{:ok, :authorized} <- current_user |> Policy.authorize(:create, %ProjectGithubRepo{}, params),
3030
{:ok, %ProjectGithubRepo{} = project_github_repo} <- create_project_repo_changeset(params) |> Repo.insert do
3131

32-
TaskSupervisor.start_child(:background_processor, fn -> CodeCorps.GitHub.Sync.sync_project_github_repo(project_github_repo) end)
32+
TaskSupervisor.start_child(:background_processor, fn ->
33+
CodeCorps.GitHub.Sync.sync_project_github_repo(project_github_repo)
34+
end)
3335

3436
current_user |> track_created(project_github_repo)
3537

0 commit comments

Comments
 (0)