Skip to content

Commit

Permalink
Wrong argument for status follow and unfollow message
Browse files Browse the repository at this point in the history
Fixes #33
  • Loading branch information
britzl committed Sep 29, 2021
1 parent 6bcbe69 commit db2d126
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions codegen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ end
--------------------------------------------------------------------------------
--- Create a status_follow socket message
function M.create_status_follow_message(user_id)
function M.create_status_follow_message(user_ids)
assert(user_ids and type(user_ids) == "table", "Argument 'user_ids' must be of type 'table'")
local message = {
status_follow = {
Expand All @@ -210,7 +210,7 @@ end
--------------------------------------------------------------------------------
--- Create a status_unfollow socket message
function M.create_status_unfollow_message(user_id)
function M.create_status_unfollow_message(user_ids)
assert(user_ids and type(user_ids) == "table", "Argument 'user_ids' must be of type 'table'")
local message = {
status_unfollow = {
Expand Down
4 changes: 2 additions & 2 deletions nakama/nakama.lua
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ end

--------------------------------------------------------------------------------
--- Create a status_follow socket message
function M.create_status_follow_message(user_id)
function M.create_status_follow_message(user_ids)
assert(user_ids and type(user_ids) == "table", "Argument 'user_ids' must be of type 'table'")
local message = {
status_follow = {
Expand All @@ -183,7 +183,7 @@ end

--------------------------------------------------------------------------------
--- Create a status_unfollow socket message
function M.create_status_unfollow_message(user_id)
function M.create_status_unfollow_message(user_ids)
assert(user_ids and type(user_ids) == "table", "Argument 'user_ids' must be of type 'table'")
local message = {
status_unfollow = {
Expand Down

0 comments on commit db2d126

Please sign in to comment.