Skip to content

Commit

Permalink
Two Bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
sivm99 committed Sep 29, 2024
1 parent 69ede7b commit 14822d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Controller/dstController.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const isVerified = asyncErrorHandler(async (req, res, next) => {
{
destinationEmail: localDestination.destination,
domain: localDestination.domain,
verified: localDestination.verified,
verified: localDestination.verified ? true : false,
_id: localDestination._id,
}
);
Expand Down
2 changes: 1 addition & 1 deletion utils/prepareRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const createRuleRequest = (method, alias, destination, username) => {
const url =
method === "POST"
? ruleUrl
: `${ruleUrl}/${domain}/${encodeURIComponent(alias)}`;
: `${ruleUrl}/${domain}/${alias}`;

return axios({
method,
Expand Down

0 comments on commit 14822d0

Please sign in to comment.