mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 22:53: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);
|
||
|
|