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

View File

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