fixed getCurrentStock repository method