[API] Fix bug
This commit is contained in:
		| @@ -33,10 +33,6 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => { | |||||||
| 	// Lookup user | 	// Lookup user | ||||||
| 	const user = await User.findOne({ | 	const user = await User.findOne({ | ||||||
| 		_id: ps.userId | 		_id: ps.userId | ||||||
| 	}, { |  | ||||||
| 		fields: { |  | ||||||
| 			_id: true |  | ||||||
| 		} |  | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| 	if (user === null) { | 	if (user === null) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo