Find relations by source_entity_ref
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
@@ -88,7 +88,7 @@ export class Stitcher {
|
||||
}
|
||||
|
||||
const relationResults = await tx<DbRelationsRow>('relations')
|
||||
.where({ originating_entity_id: entityId })
|
||||
.where({ source_entity_ref: entityRef })
|
||||
.select();
|
||||
|
||||
// TODO: entityRef is lower case and should be uppercase in the final result.
|
||||
|
||||
Reference in New Issue
Block a user