simplify task api
All checks were successful
Build and Publish / build-release (push) Successful in 1m23s
All checks were successful
Build and Publish / build-release (push) Successful in 1m23s
This commit is contained in:
@@ -8,7 +8,7 @@ defmodule WorkloadService.Commands.QuoteTask do
|
||||
Command to create a new quote task.
|
||||
"""
|
||||
@derive Jason.Encoder
|
||||
defstruct [:id, :application_id, :provider_id, :provider_name, :task_info, :attachments]
|
||||
defstruct [:id, :application_id, :task_info, :attachments]
|
||||
|
||||
def new(attrs) do
|
||||
struct(__MODULE__, attrs)
|
||||
|
||||
@@ -8,7 +8,7 @@ defmodule WorkloadService.Commands.SolicitationTask do
|
||||
Command to create a new solicitation task.
|
||||
"""
|
||||
@derive Jason.Encoder
|
||||
defstruct [:id, :application_id, :provider_id, :provider_name, :task_info, :attachments]
|
||||
defstruct [:id, :application_id, :task_info, :attachments]
|
||||
|
||||
def new(attrs) do
|
||||
struct(__MODULE__, attrs)
|
||||
|
||||
Reference in New Issue
Block a user