Allow setting any contributor accounts #127

Merged
bumi merged 3 commits from feature/allow-setting-contributor-accounts into master 2019-05-17 08:42:43 +00:00
Showing only changes of commit 66fc992291 - Show all commits

View File

@@ -28,6 +28,7 @@ class Contributor {
github_username,
gitea_username,
wiki_username,
accounts
} = this;
let data = {
@@ -35,7 +36,7 @@ class Contributor {
'@type': 'Contributor',
kind,
name,
'accounts': [],
'accounts': (accounts || []),
};
if (url) {