Procházet zdrojové kódy

Change name to slug

sbkwgh před 8 roky
rodič
revize
74aec723c3
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      models/thread.js

+ 1 - 0
models/thread.js

@@ -39,6 +39,7 @@ module.exports = (sequelize, DataTypes) => {
 						order,
 						limit: limit,
 						include: [
+							{ model: models.Thread, attributes: ['slug'] }, 
 							{ model: models.User, attributes: ['username', 'createdAt', 'id', 'color'] }, 
 							{
 								model: models.Post, as: 'Replies', include: