mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-25 21:33:09 +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);
|
||
|
|