Skip to content

Commit

Permalink
fix: typo getting lead result
Browse files Browse the repository at this point in the history
  • Loading branch information
brettski committed Oct 17, 2023
1 parent 6f4102f commit dff0be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_dataSources/api.that.tech/partner/leads/mutations.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default (fetch) => {

if (data) {
if (data.partners.us?.leads) {
results = data.partners.us.leads;
results = data.partners.us.leads.add;
} else {
let message = 'There was an issue saving the lead';
if (errors) message = errors[0]?.message ?? message;
Expand Down

0 comments on commit dff0be8

Please sign in to comment.