diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/matrix_app_service/event.ex | 2 | ||||
-rw-r--r-- | lib/matrix_app_service_web/controllers/v1/transaction_controller.ex | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/matrix_app_service/event.ex b/lib/matrix_app_service/event.ex index c034a9b..12156c9 100644 --- a/lib/matrix_app_service/event.ex +++ b/lib/matrix_app_service/event.ex @@ -1,6 +1,6 @@ defmodule MatrixAppService.Event do @moduledoc """ - Struct for a Matrix event. + Ecto schema for a Matrix event. """ use Ecto.Schema import Ecto.Changeset diff --git a/lib/matrix_app_service_web/controllers/v1/transaction_controller.ex b/lib/matrix_app_service_web/controllers/v1/transaction_controller.ex index d2062bf..1fcc452 100644 --- a/lib/matrix_app_service_web/controllers/v1/transaction_controller.ex +++ b/lib/matrix_app_service_web/controllers/v1/transaction_controller.ex @@ -13,7 +13,7 @@ defmodule MatrixAppServiceWeb.V1.TransactionController do adapter = conn.private[:transaction_adapter] || MatrixAppServiceWeb.Endpoint.config(:transaction_adapter) || - raise "MatrixAppService: config key room_adapter missing" + raise "MatrixAppService: missing config key: room_adapter" # Enum.each(events, &create_event(&1, adapter)) Enum.each(events, fn event_params -> |