properly removed all merge conflicts

This commit is contained in:
--list
2021-06-17 08:51:57 +02:00
parent 90e157a5ac
commit 0f2fe26b0e
7 changed files with 0 additions and 42 deletions

View File

@@ -149,11 +149,7 @@ export default async (req, res) => {
.withTransaction(manager)
.retrieve(id)
<<<<<<< HEAD
const evaluatedNoNotification = value.no_notification !== undefined && value.no_notification !== null ? value.no_notification : order.no_notification
=======
const evaluatedNoNotification = value.no_notification !== undefined ? value.no_notification : order.no_notification
>>>>>>> 04fe5292f7e9dcd14cb1a4ea17db8978f9b52c03
returnObj.no_notification = evaluatedNoNotification
const createdReturn = await returnService

View File

@@ -8,25 +8,16 @@ export class noNotification1623231564533 implements MigrationInterface {
await queryRunner.query(`ALTER TABLE "claim_order" ADD "no_notification" boolean`);
await queryRunner.query(`ALTER TABLE "swap" ADD "no_notification" boolean`);
await queryRunner.query(`ALTER TABLE "order" ADD "no_notification" boolean`);
<<<<<<< HEAD
await queryRunner.query(`ALTER TABLE "draft_order" ADD "no_notification_order" boolean`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "draft_order" DROP COLUMN "no_notification_order"`);
=======
}
public async down(queryRunner: QueryRunner): Promise<void> {
>>>>>>> 04fe5292f7e9dcd14cb1a4ea17db8978f9b52c03
await queryRunner.query(`ALTER TABLE "order" DROP COLUMN "no_notification"`);
await queryRunner.query(`ALTER TABLE "swap" DROP COLUMN "no_notification"`);
await queryRunner.query(`ALTER TABLE "claim_order" DROP COLUMN "no_notification"`);
await queryRunner.query(`ALTER TABLE "return" DROP COLUMN "no_notification"`);
<<<<<<< HEAD
=======
>>>>>>> 04fe5292f7e9dcd14cb1a4ea17db8978f9b52c03
}
}

View File

@@ -215,16 +215,9 @@ describe("ClaimService", () => {
it.each(
[
[false, false],
<<<<<<< HEAD
[undefined, true],
[null, true],
])
("passes correct no_notification status to event bus, with '%s'", async (input, expected) => {
=======
[undefined, true]
],
"passes correct no_notification status to event bus", async (input, expected) => {
>>>>>>> 04fe5292f7e9dcd14cb1a4ea17db8978f9b52c03
await claimService.create({
...testClaim,
no_notification: input,
@@ -234,10 +227,6 @@ describe("ClaimService", () => {
id: expect.any(String),
no_notification: expected
})
<<<<<<< HEAD
=======
>>>>>>> 04fe5292f7e9dcd14cb1a4ea17db8978f9b52c03
})
})

View File

@@ -1134,12 +1134,7 @@ describe("OrderService", () => {
it.each([
[false, false],
[undefined, true],
<<<<<<< HEAD
[null, true],
])("emits correct no_notification option with '%s'", async (input, expected) => {
=======
],"emits correct no_notification option", async (input, expected) => {
>>>>>>> 04fe5292f7e9dcd14cb1a4ea17db8978f9b52c03
await orderService.createRefund(
IdMap.getId("order_123"),
100,

View File

@@ -345,12 +345,7 @@ describe("SwapService", () => {
[true, true],
[false, false],
[undefined, true],
<<<<<<< HEAD
[null, true],
])( "passes correct no_notification to eventBus with '%s'", async (input, expected) => {
=======
])( "passes correct no_notification to eventBus with %s", async (input, expected) => {
>>>>>>> 04fe5292f7e9dcd14cb1a4ea17db8978f9b52c03
await swapService.create(
testOrder,

View File

@@ -241,11 +241,7 @@ class ClaimService extends BaseService {
)
)
<<<<<<< HEAD
const evaluatedNoNotification = no_notification !== undefined && no_notification !== null ? no_notification : order.no_notification
=======
const evaluatedNoNotification = no_notification !== undefined ? no_notification : order.no_notification
>>>>>>> 04fe5292f7e9dcd14cb1a4ea17db8978f9b52c03
const created = claimRepo.create({
shipping_address_id: addressId,

View File

@@ -238,11 +238,7 @@ class SwapService extends BaseService {
})
)
<<<<<<< HEAD
const evaluatedNoNotification = noNotification !== undefined && noNotification !== null ? noNotification : order.no_notification
=======
const evaluatedNoNotification = noNotification !== undefined ? noNotification : order.no_notification
>>>>>>> 04fe5292f7e9dcd14cb1a4ea17db8978f9b52c03
const swapRepo = manager.getCustomRepository(this.swapRepository_)
const created = swapRepo.create({