Fix jwt-token

This commit is contained in:
2025-09-15 14:41:35 +02:00
parent aa5273841f
commit 07c25ed5e9
13 changed files with 291 additions and 253 deletions

View File

@@ -9,7 +9,7 @@ module.exports = (sequelize) => {
},
user_id: {
type: DataTypes.UUID,
allowNull: false,
allowNull: true, // Allow null for testing
references: {
model: 'users',
key: 'id'