Skip to content

Commit 28f0eb4

Browse files
committed
style: Run mix format
1 parent ea0a993 commit 28f0eb4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/octocon_web/controllers/system/alter_controller.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ defmodule OctoconWeb.System.AlterController do
123123
|> put_status(:bad_request)
124124
|> json(%{error: "No valid alter attributes provided.", code: "no_alter_attributes"})
125125
else
126-
if Map.has_key?(attrs, :alias) and attrs.alias != nil and Alters.alias_taken?({:system, system_id}, attrs.alias) do
126+
if Map.has_key?(attrs, :alias) and attrs.alias != nil and
127+
Alters.alias_taken?({:system, system_id}, attrs.alias) do
127128
alter = Alters.get_alter_by_id({:system, system_id}, {:id, id})
128129

129130
if alter != nil and alter.alias != attrs.alias do

0 commit comments

Comments
 (0)