Skip to content

Commit

Permalink
Merge branch 'hotfix-1.0.71'
Browse files Browse the repository at this point in the history
  • Loading branch information
entrotech committed Feb 25, 2023
2 parents dc053df + cad3ae5 commit b188bba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion client/src/services/suggestion-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ export const getById = async (id) => {
};

export const post = async (suggestion) => {
const response = await axios.post(baseUrl, { ...suggestion, tenantId });
const response = await axios.post(baseUrl, {
...suggestion,
stakeholderId: suggestion.stakeholderId || null,
tenantId,
});
return response.data;
};

Expand Down
2 changes: 1 addition & 1 deletion server/app/services/stakeholder-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ const requestAssignment = async (model) => {
where sh.verification_status_id = 1
and sh.tenant_id = $<tenantId>
and c.inactive = false
and (ARRAY[1,4] && sh.category_ids)
and (ARRAY[1,9] && sh.category_ids)
order by sh.modified_date
limit 1
)
Expand Down

0 comments on commit b188bba

Please sign in to comment.