server/migrations/20240211093530-default-netatmo-variable-api.js
Function up
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
up: async () => {
const netatmoVariableEnergyApi = await db.Variable.findOne({
where: {
name: GLADYS_VARIABLES.ENERGY_API,
},