chore: make APIs similar for legacy + MD

This commit is contained in:
Adhiraj Singh
2021-12-18 16:44:31 +05:30
parent c803e22e8a
commit e393f0f9a8
7 changed files with 33 additions and 30 deletions

View File

@@ -224,7 +224,7 @@ const makeGroupsSocket = (config: LegacySocketConfig) => {
}
return metadata
},
inviteCode: async(jid: string) => {
groupInviteCode: async(jid: string) => {
const response = await sock.query({
json: ['query', 'inviteCode', jid],
expect200: true,