Code-4-Community / breaktime-backend

2 stars 0 forks source link

Adjustments to TimesheetEntrySchema for new CellType enum to work #43

Closed izzyconner closed 12 months ago

izzyconner commented 1 year ago

ℹī¸ Issue Closes #60 on frontend (backend changes were also necessary to maintain backwards compatibility)

📝 Description Small change to allow for the new CellType value 'Time Worked' to be saved to the backend, and still be able to read in and update any old values of 'Regular' for the frontend.

✔ī¸ Testing What steps did you take to verify your changes work?

Run the frontend and backend together and made sure there were no errors. Checked Dynamo to ensure that any new Timesheets had the correct 'Time Worked'.