ioet / ioet/time-tracker-backend

Add validation on empty value of start_date

Open
#220 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When we make an update of a time_entry with the field start_date as empty string, e.g. : `start_date : ''` the backend returns the message: 'there is another time_entry in that range'.

It should throw another error message, given that there is no valid date to compare with those that exist in the DB.

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.