#1305 ลบ posMasterAct
This commit is contained in:
parent
c297572c79
commit
018aae2c57
3 changed files with 57 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ import { PosMaster } from "../entities/PosMaster";
|
|||
import { Profile } from "../entities/Profile";
|
||||
import { RequestWithUser } from "../middlewares/user";
|
||||
import permission from "../interfaces/permission";
|
||||
import { setLogDataDiff } from "../interfaces/utils";
|
||||
import { checkQueueInProgress, setLogDataDiff } from "../interfaces/utils";
|
||||
import { sendToQueueOrg, sendToQueueOrgDraft } from "../services/rabbitmq";
|
||||
import { PosType } from "../entities/PosType";
|
||||
import { PosLevel } from "../entities/PosLevel";
|
||||
|
|
@ -3255,7 +3255,7 @@ export class OrganizationController extends Controller {
|
|||
user: request.user,
|
||||
token: request.headers["authorization"],
|
||||
};
|
||||
sendToQueueOrg(msg);
|
||||
await sendToQueueOrg(msg);
|
||||
return new HttpSuccess();
|
||||
} catch (error: any) {
|
||||
if (error?.status && error?.message) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue