Merge pull request #3098 from GeoffreyFrogeye/link_type_id

API: Add link_type_id when reading TransactionLink
This commit is contained in:
James Cole
2020-02-08 11:54:27 +00:00
committed by GitHub

View File

@@ -65,6 +65,7 @@ class TransactionLinkTransformer extends AbstractTransformer
'updated_at' => $link->updated_at->toAtomString(), 'updated_at' => $link->updated_at->toAtomString(),
'inward_id' => $link->source_id, 'inward_id' => $link->source_id,
'outward_id' => $link->destination_id, 'outward_id' => $link->destination_id,
'link_type_id' => $link->link_type_id,
'notes' => '' === $notes ? null : $notes, 'notes' => '' === $notes ? null : $notes,
'links' => [ 'links' => [
[ [