Skip to content

Commit

Permalink
fix: syncaction modelname
Browse files Browse the repository at this point in the history
  • Loading branch information
saimanoj authored and harshithmullapudi committed Feb 11, 2025
1 parent a9eecef commit b65342b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/server/src/modules/sync-actions/sync-actions.service.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Injectable } from '@nestjs/common';
import { ModelNameEnum, SyncAction, ModelName } from '@sigma/types';
import { ModelName } from '@prisma/client';
import { ModelNameEnum, SyncAction } from '@sigma/types';
import { PrismaService } from 'nestjs-prisma';

import {
Expand Down Expand Up @@ -37,7 +38,7 @@ export default class SyncActionsService {
},
create: {
action: actionType,
modelName: modelName as ModelName,
modelName,
modelId,
workspaceId,
sequenceId,
Expand Down

0 comments on commit b65342b

Please sign in to comment.