mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 12:12:55 -06:00
fix: Fixed name of the profile status in fetchInstances
This commit is contained in:
parent
be492a3e3f
commit
bb4490307d
@ -19,6 +19,7 @@
|
|||||||
* Changed message in path /
|
* Changed message in path /
|
||||||
* Test duplicate message media in groups chatwoot
|
* Test duplicate message media in groups chatwoot
|
||||||
* Optimize send message from group with mentions
|
* Optimize send message from group with mentions
|
||||||
|
* Fixed name of the profile status in fetchInstances
|
||||||
|
|
||||||
# 1.1.5 (2023-07-12 07:17)
|
# 1.1.5 (2023-07-12 07:17)
|
||||||
|
|
||||||
|
@ -113,7 +113,8 @@ export class WAMonitoringService {
|
|||||||
owner: value.wuid,
|
owner: value.wuid,
|
||||||
profileName: (await value.getProfileName()) || 'not loaded',
|
profileName: (await value.getProfileName()) || 'not loaded',
|
||||||
profilePictureUrl: value.profilePictureUrl,
|
profilePictureUrl: value.profilePictureUrl,
|
||||||
status: (await value.getProfileStatus()) || '',
|
profileStatus: (await value.getProfileStatus()) || '',
|
||||||
|
status: value.connectionStatus.state,
|
||||||
apikey,
|
apikey,
|
||||||
chatwoot,
|
chatwoot,
|
||||||
},
|
},
|
||||||
@ -128,7 +129,8 @@ export class WAMonitoringService {
|
|||||||
owner: value.wuid,
|
owner: value.wuid,
|
||||||
profileName: (await value.getProfileName()) || 'not loaded',
|
profileName: (await value.getProfileName()) || 'not loaded',
|
||||||
profilePictureUrl: value.profilePictureUrl,
|
profilePictureUrl: value.profilePictureUrl,
|
||||||
status: (await value.getProfileStatus()) || '',
|
profileStatus: (await value.getProfileStatus()) || '',
|
||||||
|
status: value.connectionStatus.state,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user