Use any instead of Object

This commit is contained in:
Aya Morisawa
2017-03-01 17:37:01 +09:00
parent d2c70afd37
commit ac8eb94a27
81 changed files with 398 additions and 397 deletions

View File

@@ -12,10 +12,10 @@ import config from '../../conf';
/**
* Serialize an app
*
* @param {Object} app
* @param {Object} me?
* @param {Object} options?
* @return {Promise<Object>}
* @param {any} app
* @param {any} me?
* @param {any} options?
* @return {Promise<any>}
*/
export default (
app: any,
@@ -75,8 +75,8 @@ export default (
app_id: _app.id,
user_id: me,
}, {
limit: 1
});
limit: 1
});
_app.is_authorized = exist === 1;
}