Skip to content

Commit

Permalink
update go.timetac.com to api.timetac.com
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleks-TT committed Jan 21, 2025
1 parent 27720e6 commit ac4d392
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ regular intervals. Access credentials are available in the react playground's
import Api from "@timetac/js-client-library"
//Only account name is required.
const environment = {
host: 'go.timetac.com',
host: 'api.timetac.com',
https?: boolean;
account: <ACCOUNT_NAME>,
version: 3,
Expand Down
2 changes: 1 addition & 1 deletion src/baseApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { RequestPromise, optional, list, requiredSingle, RequestBatchPromise } f
import { User } from './users/types';
import { DeltaSyncParams } from './utils/params/deltaSyncParams';

const DEFAULT_HOST = 'go.timetac.com';
const DEFAULT_HOST = 'api.timetac.com';
const DEFAULT_API_VERSION = 4;

export type Tokens = {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export { HolidayAdjustmentAdd, HolidayAdjustmentRemove } from './holidayAdjustme
export { HourType } from './hourTypes/types';
export { UserEvent } from './userEvents/types';

const DEFAULT_HOST = 'go.timetac.com';
const DEFAULT_HOST = 'api.timetac.com';

export default class Api {
public config: ConfigProvider;
Expand Down

0 comments on commit ac4d392

Please sign in to comment.