Commit Graph

10 Commits

Author SHA1 Message Date
Arthur Lu
310ff8e6ae fix approveResources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-24 23:10:05 +00:00
Arthur Lu
52d40796e9 fix bugs in utils.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-24 22:42:38 +00:00
Arthur Lu
0ad242a557 implement db as class,
improve approveResources

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-24 22:21:00 +00:00
Arthur Lu
7e7f9b2b55 fix api crash on username missing from lcoaldb 2023-05-23 00:11:48 +00:00
Arthur Lu
505ea28e8a handle NaN or undefined values in approveResources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-18 14:58:44 +00:00
Arthur Lu
2cd23324e5 fix formatting 2023-05-17 21:38:11 +00:00
Arthur Lu
e89eeeb5cb separate user data endpoints
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-12 20:51:07 +00:00
Arthur Lu
2a70548a43 add node restriction
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-27 15:39:01 +00:00
Arthur Lu
2deda42ec5 update to es6 and fix some syntax errors 2023-04-26 01:18:05 +00:00
Arthur Lu
c7c1191587 code cleanup,
disk paths now under instance

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-24 21:28:58 +00:00