Skip to content

Commit

Permalink
fix: pr url to ignore query strings, ids
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush008 committed Jun 3, 2023
1 parent b697b70 commit d1429b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const handleSubmit = async () => {
};

export const getAiDescription = async () => {
const url = getPullRequestAPIURL(window.location.href);
const url = getPullRequestAPIURL(window.location.hostname + window.location.pathname);
const descriptionConfig = await getAIDescriptionConfig();

if (!descriptionConfig) {
Expand Down

0 comments on commit d1429b6

Please sign in to comment.