Skip to content

Commit

Permalink
Update repoAdd.js
Browse files Browse the repository at this point in the history
  • Loading branch information
arc9693 authored Oct 8, 2020
1 parent 17df0cf commit d580472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/repoAdd.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ $.getJSON('https://raw.githubusercontent.com/lugnitdgp/Hack-Day/2020/repos.json'
url : `https://api.github.com/repos/${repoOwner}/${repoName}/topics`,
type: 'GET',
success : function (topics) {
repoTopics = Object.keys(names);
if (repoTopics === '') {
repoTopics = topics.names.join(", ");
if (repoTopics === "") {
repoTopics = 'No topics specified';
}
}
Expand Down

0 comments on commit d580472

Please sign in to comment.