Skip to content

Commit 1375d90

Browse files
committed
fix: remove redundant async
1 parent ffa0833 commit 1375d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/WorkPeriodService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ async function _checkUserPermissionForWriteWorkPeriod (currentUser) {
113113
* Checks if one of the date is missing and autocalculates it.
114114
* @param {Object} data workPeriod data object
115115
*/
116-
async function _autoCalculateDates (data) {
116+
function _autoCalculateDates (data) {
117117
if (data.startDate && !data.endDate) {
118118
const date = new Date(data.startDate)
119119
date.setDate(date.getDate() + 6)

0 commit comments

Comments
 (0)