mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-08 05:33:08 +02:00
14 lines
172 B
JavaScript
14 lines
172 B
JavaScript
|
var user = {
|
||
|
user: 'example-misskey-user',
|
||
|
pwd: 'example-misskey-pass',
|
||
|
roles: [
|
||
|
{
|
||
|
role: 'readWrite',
|
||
|
db: 'misskey'
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
|
||
|
db.createUser(user);
|
||
|
|