mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-12 01:52:49 +00:00
server - repo associations figured out with thread/reply/user
This commit is contained in:
@@ -11,7 +11,7 @@ defmodule MyAppWeb.ReplyController do
|
||||
|
||||
{output, status} = params
|
||||
|> Map.put("user_id", user_id)
|
||||
|> Data.Reply.insert_reply
|
||||
|> Data.Reply.insert
|
||||
|> Response.put_resp
|
||||
|
||||
conn
|
||||
@@ -27,7 +27,7 @@ defmodule MyAppWeb.ReplyController do
|
||||
|
||||
{output, status} = params
|
||||
|> Map.put("user_id", user_id)
|
||||
|> Data.Reply.user_update_reply
|
||||
|> Data.Reply.user_update
|
||||
|> Response.put_resp
|
||||
|
||||
conn
|
||||
|
||||
Reference in New Issue
Block a user