fix: refs #7187 method
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Pablo Natek 2024-05-16 14:00:42 +02:00
parent b41104432c
commit 1abacdc42b
1 changed files with 1 additions and 3 deletions

View File

@ -13,9 +13,7 @@ module.exports = Self => {
}
});
Self.getAvailablePda = async() => {
const models = Self.app.models;
return models.DeviceProduction.rawSql(
return Self.app.models.DeviceProduction.rawSql(
`SELECT d.*
FROM deviceProduction d
LEFT JOIN deviceProductionUser du ON du.deviceProductionFk = d.id