endpoint indentation + type updated yo array of objects
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2021-03-26 10:39:19 +01:00
parent f46c18b6b0
commit 767665e3c9
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ module.exports = Self => {
description: 'itemFk, id'
}],
returns: {
type: 'Array',
type: ['Object'],
root: true
},
http: {
@ -52,7 +52,7 @@ module.exports = Self => {
s.id AS supplierFk,
s.name AS supplier
FROM itemType it
RIGHT JOIN (entry e
RIGHT JOIN (entry e
LEFT JOIN supplier s ON s.id = e.supplierFk
RIGHT JOIN buy b ON b.entryFk = e.id
LEFT JOIN item i ON i.id = b.itemFk