not async
This commit is contained in:
parent
180c485bb8
commit
5f1ac80553
1 changed files with 2 additions and 2 deletions
|
|
@ -16,9 +16,9 @@ const Utils = require('../utils')
|
||||||
* @throws {Error} NOT_AUTH
|
* @throws {Error} NOT_AUTH
|
||||||
* @param {UserGUNNode} user
|
* @param {UserGUNNode} user
|
||||||
* @param {ISEA} SEA
|
* @param {ISEA} SEA
|
||||||
* @returns {Promise<void>}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
const onAcceptedRequests = async (user, SEA) => {
|
const onAcceptedRequests = (user, SEA) => {
|
||||||
if (!user.is) {
|
if (!user.is) {
|
||||||
throw new Error(ErrorCode.NOT_AUTH)
|
throw new Error(ErrorCode.NOT_AUTH)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue