Skip to content

Commit

Permalink
Fix: add organization_id in missing palces for consultations
Browse files Browse the repository at this point in the history
  • Loading branch information
georgipavlov-7DIGIT committed Sep 27, 2024
1 parent 3cda1ee commit 2c0e652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/blocks/Consultations/Consultations.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ export const Consultations = ({
handleAcceptConsultation={acceptConsultation}
handleRejectConsultation={rejectConsultation}
sponsorImage={consultation.sponsorImage}
withOrganization={!!consultation.organizationId}
t={t}
/>
</GridItem>
Expand Down
1 change: 1 addition & 0 deletions src/hooks/useGetAllConsultations.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default function useGetAllConsultations(enabled = true) {
campaignId: consultation.campaign_id,
sponsorName: consultation.sponsor_name,
sponsorImage: consultation.sponsor_image,
organizationId: consultation.organization_id,
});
}
return formattedData;
Expand Down

0 comments on commit 2c0e652

Please sign in to comment.