We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c676e67 commit 07a679cCopy full SHA for 07a679c
1 file changed
server/lib/get-history-by-contract-id.js
@@ -60,7 +60,7 @@ module.exports = exports = async ({ contract_id, limit, offset, type, user_id })
60
const allExisting = await getAllExistingItemsForContract(contract_id);
61
62
await items.filter(item => item.iso_lang_code === 'es').forEach(async item => {
63
- const query = 'SELECT * FROM syndication.get_content_es_by_id($1::text)';
+ const query = 'SELECT * FROM syndication.get_content_es_by_id($1::uuid)';
64
const [content] = await db.query(query, [item.content_id]);
65
item.content_area = content.content_area;
66
});
0 commit comments