From 3cb097a6eaf6777b79009f86318a47cbaf8d3f9f Mon Sep 17 00:00:00 2001 From: Zack Siri Date: Fri, 1 Nov 2024 16:31:24 +0700 Subject: [PATCH] clean up legacy code --- lib/uplink/packages/deployment/router.ex | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/uplink/packages/deployment/router.ex b/lib/uplink/packages/deployment/router.ex index 984ce745..aed0e702 100644 --- a/lib/uplink/packages/deployment/router.ex +++ b/lib/uplink/packages/deployment/router.ex @@ -146,12 +146,6 @@ defmodule Uplink.Packages.Deployment.Router do {:error, error} -> json(conn, :unprocessable_entity, %{error: %{message: error}}) - {:error, error, _} -> - json(conn, :unprocessable_entity, %{error: %{message: error}}) - - {:error, error, _, _} -> - json(conn, :unprocessable_entity, %{error: %{message: error}}) - {:actor, :not_found} -> json(conn, :not_found, %{error: %{message: "actor not found"}}) end