Fix PR review findings
- Replace copy-pasted New Relic URLs in Resend third-party entry with correct resend.com URLs and drop inapplicable fields - Escape single '%' instead of '%%' in LIKE pattern conversion so literal percent signs are not treated as wildcards - Return actual row ID from CommonTrackerPattern.Upsert via RETURNING id so conflict-path callers get the existing ID - Add ORDER BY id ASC to vendor-by-common-third-party query for deterministic LIMIT 1 selection Signed-off-by: Émile Ré <emile@getprobo.com> Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
@@ -1358,6 +1358,7 @@ WHERE
|
||||
AND organization_id = @organization_id
|
||||
AND common_third_party_id = @common_third_party_id
|
||||
AND snapshot_id IS NULL
|
||||
ORDER BY id ASC
|
||||
LIMIT 1;
|
||||
`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user