Signed-off-by: Arthur Lu <learthurgo@gmail.com>
@@ -21,6 +21,9 @@ export async function approveResources(req, username, request) {
if (!(key in avail)) {
approved = false;
}
else if (isNaN(avail[key]) || isNaN(request[key])) {
else if (avail[key] - request[key] < 0) {
The note is not visible to the blocked user.