feat: add validation for relative reminders
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
cernst 2023-03-27 12:24:03 +02:00
parent a3cb694323
commit c49bf45cbf
1 changed files with 1 additions and 1 deletions

View File

@ -898,7 +898,7 @@ func (err ErrReminderRelativeToMissing) HTTPError() web.HTTPError {
return web.HTTPError{
HTTPCode: http.StatusBadRequest,
Code: ErrCodeReminderRelativeToMissing,
Message: "Relative reminder without relative_to",
Message: "Please provide what the reminder date is relative to",
}
}