Adding device_id to authentication validation

pull/181/head
Matheus Lima 2019-06-04 21:18:21 -03:00
parent aa4ba119db
commit 05adaa380f
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class PremiumVoiceEndpoint(SeleneEndpoint):
super(PremiumVoiceEndpoint, self).__init__()
def get(self, device_id):
self._authenticate()
self._authenticate(device_id)
arch = self.request.args.get('arch')
account = AccountRepository(self.db).get_account_by_device_id(device_id)
if account and account.membership: