Use any instead of Object
This commit is contained in:
parent
d2c70afd37
commit
ac8eb94a27
81 changed files with 398 additions and 397 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue