This commit is contained in:
syuilo
2017-11-01 01:38:19 +09:00
parent 346c2959e0
commit 71c3e11708
7 changed files with 65 additions and 7 deletions

View File

@@ -21,7 +21,8 @@ module.exports = async (params, user) => new Promise(async (res, rej) => {
const channel = await Channel.insert({
created_at: new Date(),
user_id: user._id,
title: title
title: title,
index: 0
});
// Response