a2n-seattle / a2n-seattle/rms-app

[Tech debt] In BorrowBatch, use BorrowItem.execute to borrow items

Open
#253 1 comment 0 reactions 0 assignees View on GitHub
Tech Debt
Dominant language
TypeScript
Stars
1
Forks
1
Avg merge
27m
Merged PRs (30d)
4

Description

# Why?

Currently, we are directly calling ItemTable database functions for BorrowBatch. It is missing field validations for each item in the batch that would be borrowed

# What?

After getting a list of items in the batch, call BorrowItem API to borrow the list of items, instead of calling itemTable.changeBorrower

# Additional context

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.