This commit is contained in:
@@ -110,6 +110,7 @@ export class Settings extends Model {
|
||||
@Column({
|
||||
type: DataTypes.STRING,
|
||||
allowNull: false,
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
get(this: Settings): any {
|
||||
const value = this.getDataValue('value');
|
||||
return value != null ? JSON.parse(value) : null;
|
||||
|
||||
Reference in New Issue
Block a user