Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix new matched aliases population #239

Draft
wants to merge 26 commits into
base: dev
Choose a base branch
from

Conversation

felix-lipski
Copy link
Collaborator

No description provided.

@felix-lipski felix-lipski force-pushed the fix-new-matched-aliases-population branch from 7fd95d6 to e5972c4 Compare July 11, 2024 21:11
@@ -104,10 +104,11 @@ export const IdentifyAliasesScreenInvoice = () => {
useEffect(() => {
if (isSuccess) {
if (processedInvoice) {
Copy link
Collaborator

@michalstruck michalstruck Jul 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will always be true - if the type is right. An empty object is truthy. I know it wasn't added here but it's your change that I didn't review that well hehe

@@ -120,6 +121,7 @@ export const IdentifyAliasesScreenInvoice = () => {
newMatched[record.id] = { price_per_unit, quantity, product_id };
}

console.log({ newMatched, resolvedAliases });
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delet dis

Copy link
Collaborator

@michalstruck michalstruck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left some comments

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, so the convention has been for the -response.json files to contain the raw azure response, not the edge function response, maybe let's rename it somehow

@felix-lipski felix-lipski force-pushed the fix-new-matched-aliases-population branch from b74b67e to e627fdb Compare August 27, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants