Skip to content

Commit

Permalink
Fine Tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
vr-varad authored and rajdip-b committed Aug 3, 2024
1 parent e581e20 commit f6c0e39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions packages/api-client/src/controllers/event/event.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { GetEventsRequest, GetEventsResponse } from '@package/types/event.types'
import client from '../../client'
import { GetEventsRequest, GetEventsResponse } from '../../types/event.types'
import { APIClient } from '../../core/client'

const baseUrl = ''
export default class EventController {
private static apiClient = client
private static apiClient = new APIClient(baseUrl)

static async getEvents(
request: GetEventsRequest,
Expand Down
6 changes: 3 additions & 3 deletions packages/api-client/tests/event.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import client from '@package/client'
import EventController from '@package/controllers/event/event'
import { EventSource } from '@package/types/event.types'
import client from '../src/core/client'
import EventController from '../src/controllers/event/event'
import { EventSource } from '../src/types/event.types'

describe('Get Event Controller', () => {
const email = 'johndoe@example.com'
Expand Down

0 comments on commit f6c0e39

Please sign in to comment.