Skip to content

Commit

Permalink
rename function getUsernumber_frameData
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhaillav committed Mar 29, 2023
1 parent 7c63f22 commit 3047493
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glolime/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ class glolime {
/**
* Запрос на school.glolime.ru/acquiring/searchbypaymentnumber/acquier/
*
* Возвращает ссылку на оплату
* Возвращает usernumber
* @param {Number} type 1 - горячее, 2 - буфет
* @param {Number} usernumber
*/
getNumberID_frameData(frameData){
getUsernumber_frameData(frameData){
return axios.get(`https://school.glolime.ru/api/netrika/userinfo/?${frameData}`,{ responseType: 'arraybuffer' })
.then(response => {
data = iconv.decode(response.data, 'windows-1251');
Expand Down

0 comments on commit 3047493

Please sign in to comment.