Follow-up from "WIP: Fixes #635: Migrate the whole code base to SQL, using Typeorm"
The following discussion from !1086 (merged) should be addressed:
-
@ZeHiro started a discussion: can't we change the API to match the function name ? replacing
bank
byvendorId
(and checking it's an Id, and not an object) -
@ZeHiro started a discussion: (+1 comment) Can't we directly "get" the access, and calling at the same time the access fields by cascade, like returning
Access.find(userId, access.id);
-
@ZeHiro started a discussion: (+1 comment) Is it still necessary to set the hour to 00:00 ?