Skip to content

Commit

Permalink
Merge pull request #246 from cioos-siooc/245-automatically-generated-…
Browse files Browse the repository at this point in the history
…github-issue-for-a-new-metadata-record-submitted-failed-to-provide-a-working-link

Surround firebase-functions-issue generated body url by < >
  • Loading branch information
JessyBarrette authored Oct 23, 2023
2 parents b0ce37c + 9bdf5c8 commit 718a94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firebase-functions/functions/issue.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function createIssue(title, url) {
owner: "HakaiInstitute",
repo: "metadata-review",
title: `Dataset - ${title}`,
body: `## ${title}\n\n${url}\n\n${issueText}`,
body: `## ${title}\n\n<${url}>\n\n${issueText}`,
};

await octokit.request("POST /repos/{owner}/{repo}/issues", input);
Expand Down

0 comments on commit 718a94e

Please sign in to comment.