Skip to content

Commit

Permalink
Merge pull request #8314 from amplication/fix/8313
Browse files Browse the repository at this point in the history
fix(server): issue commit for migration changes
  • Loading branch information
overbit committed Apr 11, 2024
2 parents 42a7a2c + 8fc19eb commit a76957f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/amplication-server/src/core/block/block.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -817,11 +817,7 @@ export class BlockService {
const changedBlocks = await this.prisma.block.findMany({
where: {
lockedByUserId: userId,
// eslint-disable-next-line @typescript-eslint/naming-convention
OR: [
{ blockType: EnumBlockType.Module },
{ blockType: EnumBlockType.ModuleAction },
],
blockType: { equals: EnumBlockType.ModuleDto },
resource: {
deletedAt: null,
project: {
Expand Down

0 comments on commit a76957f

Please sign in to comment.