|
@@ -1642,12 +1642,11 @@ class LedgerConsumeApp(PayAppBase):
|
|
|
|
|
|
@classmethod
|
|
|
def get_app(cls, dealer): # type:(Dealer) -> LedgerConsumeApp
|
|
|
- agent = dealer.productAgent
|
|
|
|
|
|
app = cls()
|
|
|
|
|
|
app.role = ROLE.agent
|
|
|
- app.occupantId = str(agent.id)
|
|
|
+ app.occupantId = settings.MY_PRIMARY_AGENT_ID
|
|
|
|
|
|
app.enable = True
|
|
|
app.valid = True
|