update sync
This commit is contained in:
parent
58dde4b304
commit
754280204d
|
|
@ -202,7 +202,7 @@ export class ProductsService extends CoreService<Product> {
|
||||||
try {
|
try {
|
||||||
return await this.eventService.waitForEvent<PublistHistory>(
|
return await this.eventService.waitForEvent<PublistHistory>(
|
||||||
`${ProductsService.EVENTS.PUBLIST_FINISH}_${data.id}`,
|
`${ProductsService.EVENTS.PUBLIST_FINISH}_${data.id}`,
|
||||||
30000,
|
60000,
|
||||||
);
|
);
|
||||||
} catch {
|
} catch {
|
||||||
throw new BadRequestException(
|
throw new BadRequestException(
|
||||||
|
|
@ -219,7 +219,7 @@ export class ProductsService extends CoreService<Product> {
|
||||||
try {
|
try {
|
||||||
return await this.eventService.waitForEvent<PublistHistory>(
|
return await this.eventService.waitForEvent<PublistHistory>(
|
||||||
`${ProductsService.EVENTS.DElETE_FINISH}_${data.id}`,
|
`${ProductsService.EVENTS.DElETE_FINISH}_${data.id}`,
|
||||||
30000,
|
60000,
|
||||||
);
|
);
|
||||||
} catch {
|
} catch {
|
||||||
throw new BadRequestException(
|
throw new BadRequestException(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue