Skip to content

Commit

Permalink
feat: support default configured billable
Browse files Browse the repository at this point in the history
  • Loading branch information
cegento committed Aug 15, 2023
1 parent 3c29b45 commit da085fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/clockodo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export class Clockodo {
async startClock(
params: Params<
Pick<TimeEntry, typeof REQUIRED.START_CLOCK[number]> & {
billable: ClockingTimeEntryBillability;
billable: ClockingTimeEntryBillability | undefined;
}
>
): Promise<ClockStartReturnType> {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/requiredParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const GET_USER_REPORT = ["usersId", "year"] as const;
export const GET_USER_REPORTS = ["year"] as const;
export const GET_NONBUSINESS_DAYS = ["nonbusinessgroupsId", "year"] as const;
export const REGISTER = ["companiesName", "name", "email"] as const;
export const START_CLOCK = ["customersId", "servicesId", "billable"] as const;
export const START_CLOCK = ["customersId", "servicesId"] as const;
export const STOP_CLOCK = ["entriesId"] as const;

export const ADD_WORK_TIMES_CHANGE_REQUEST = [
Expand Down

0 comments on commit da085fa

Please sign in to comment.