Skip to content

Commit

Permalink
fix(watch-thread): update create method to have consistent return value
Browse files Browse the repository at this point in the history
  • Loading branch information
akinsey committed Jul 30, 2024
1 parent bb346db commit 2bf0b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/epochtalk_server/models/watch_thread.ex
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ defmodule EpochtalkServer.Models.WatchThread do

case Repo.insert(watch_thread_cs) do
{:ok, db_watch_thread} ->
db_watch_thread
{:ok, db_watch_thread}

{:error,
%Ecto.Changeset{
Expand Down

0 comments on commit 2bf0b51

Please sign in to comment.