Skip to content

Commit

Permalink
campaign tech like now returns updated tech obj
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullai-t committed Dec 11, 2023
1 parent 13c5da6 commit d761317
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/api/services/campaign.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,10 @@ def add_campaign_technology_like(self, context, args)-> Tuple[dict, MassEnergize
res, err = self.store.add_campaign_technology_like(context, args)
if err:
return None, err
return serialize(res, full=True), None
email = args.get("email", context.user_email)
result = get_campaign_technology_details(res.id, False,email)

return result, None


def delete_campaign_technology_testimonial(self, context, args)-> Tuple[dict, MassEnergizeAPIError]:
Expand Down

0 comments on commit d761317

Please sign in to comment.