Browse Source

joinTribe response

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
88efdf6621
  1. 6
      api/controllers/chats.ts
  2. 8
      dist/api/controllers/chats.js
  3. 2
      dist/api/controllers/chats.js.map

6
api/controllers/chats.ts

@ -225,6 +225,12 @@ async function joinTribe(req, res){
sender: owner,
message: {},
type: constants.message_types.group_join,
failure: function (e) {
failure(res, e)
},
success: async function () {
success(res, jsonUtils.chatToJson(chat))
}
})
}

8
dist/api/controllers/chats.js

@ -212,6 +212,14 @@ function joinTribe(req, res) {
sender: owner,
message: {},
type: constants.message_types.group_join,
failure: function (e) {
res_1.failure(res, e);
},
success: function () {
return __awaiter(this, void 0, void 0, function* () {
res_1.success(res, jsonUtils.chatToJson(chat));
});
}
});
});
}

2
dist/api/controllers/chats.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save