1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-18 19:19:36 +02:00

Added auth middleware. Added access control to apps

This commit is contained in:
Paweł Malak 2021-11-11 16:01:56 +01:00
parent d1c61bb393
commit e3f167921c
16 changed files with 92 additions and 9 deletions

View file

@ -29,7 +29,7 @@ const App = sequelize.define(
isPublic: {
type: DataTypes.INTEGER,
allowNull: true,
defaultValue: 0,
defaultValue: 1,
},
},
{

View file

@ -23,7 +23,7 @@ const Bookmark = sequelize.define(
isPublic: {
type: DataTypes.INTEGER,
allowNull: true,
defaultValue: 0,
defaultValue: 1,
},
},
{

View file

@ -20,7 +20,7 @@ const Category = sequelize.define(
isPublic: {
type: DataTypes.INTEGER,
allowNull: true,
defaultValue: 0,
defaultValue: 1,
},
},
{