1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 09:46:06 +02:00

Introduce config module

This commit is contained in:
Akihiko Odaki
2018-04-02 13:15:53 +09:00
parent 5b9f3701f5
commit 3fb6834f7d
50 changed files with 213 additions and 208 deletions

View File

@@ -6,7 +6,7 @@ import * as bcrypt from 'bcryptjs';
import * as speakeasy from 'speakeasy';
import * as QRCode from 'qrcode';
import User from '../../../../../models/user';
import config from '../../../../../conf';
import config from '../../../../../config';
module.exports = async (params, user) => new Promise(async (res, rej) => {
// Get 'password' parameter