style: lint
This commit is contained in:
1 parent
d902be8296
commit
02e182ce77
1 file changed
+1
-1
@@ -19,7 +19,7 @@ export default class DelEssenceMsg extends BaseAction<Payload, any> {
|
|||||||
|
|
||||||
async _handle(payload: Payload): Promise<any> {
|
async _handle(payload: Payload): Promise<any> {
|
||||||
const NTQQGroupApi = this.core.apis.GroupApi;
|
const NTQQGroupApi = this.core.apis.GroupApi;
|
||||||
const msg = MessageUnique.getMsgIdAndPeerByShortId(parseInt(payload.message_id.toString()));
|
const msg = MessageUnique.getMsgIdAndPeerByShortId(+payload.message_id);
|
||||||
if (!msg) throw new Error('msg not found');
|
if (!msg) throw new Error('msg not found');
|
||||||
return await NTQQGroupApi.removeGroupEssence(
|
return await NTQQGroupApi.removeGroupEssence(
|
||||||
msg.Peer.peerUid,
|
msg.Peer.peerUid,
|
||||||
|
|||||||
Reference in new issue
Block a user