mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-16 16:57:14 +01:00
13 lines
283 B
JavaScript
13 lines
283 B
JavaScript
|
const updatePerson = require('../built/remote/activitypub/models/person').updatePerson;
|
||
|
|
||
|
const args = process.argv.slice(2);
|
||
|
const user = args[0];
|
||
|
|
||
|
console.log(`Updating ${user}...`);
|
||
|
|
||
|
updatePerson(user).then(() => {
|
||
|
console.log(`Updated ${user}`);
|
||
|
}, e => {
|
||
|
console.error(e);
|
||
|
});
|