Skip to content

Commit 0b246c4

Browse files
committed
fix esm issue with new swc version
1 parent 342a41e commit 0b246c4

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

apps/api/src/assignments/assignments.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CurrentUser } from '@douglasneuroinformatics/libnest';
2-
import { Body, Controller, Get, Param, Patch, Post, Query } from '@nestjs/common/decorators';
2+
import { Body, Controller, Get, Param, Patch, Post, Query } from '@nestjs/common';
33
import { ApiOperation } from '@nestjs/swagger';
44
import type { Assignment } from '@opendatacapture/schemas/assignment';
55

apps/api/src/instruments/instruments.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { CryptoService, InjectModel, LoggingService, VirtualizationService } from '@douglasneuroinformatics/libnest';
22
import type { Model } from '@douglasneuroinformatics/libnest';
3-
import { Injectable } from '@nestjs/common';
43
import {
54
ConflictException,
5+
Injectable,
66
InternalServerErrorException,
77
NotFoundException,
88
UnprocessableEntityException
9-
} from '@nestjs/common/exceptions';
9+
} from '@nestjs/common';
1010
import { isScalarInstrument, isSeriesInstrument } from '@opendatacapture/instrument-utils';
1111
import type {
1212
AnyInstrument,

apps/api/src/sessions/sessions.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { InjectModel, InjectPrismaClient, LoggingService } from '@douglasneuroinformatics/libnest';
22
import type { Model } from '@douglasneuroinformatics/libnest';
3-
import { Injectable } from '@nestjs/common';
4-
import { InternalServerErrorException, NotFoundException } from '@nestjs/common/exceptions';
3+
import { Injectable, InternalServerErrorException, NotFoundException } from '@nestjs/common';
54
import type { Group } from '@opendatacapture/schemas/group';
65
import type { CreateSessionData } from '@opendatacapture/schemas/session';
76
import type { CreateSubjectData } from '@opendatacapture/schemas/subject';

0 commit comments

Comments
 (0)