@@ -192,7 +192,7 @@ func (s *QuotaService) NewQuotaBalanceParams(account string, domainid string) *Q
192192
193193// Create a quota balance statement
194194func (s * QuotaService ) QuotaBalance (p * QuotaBalanceParams ) (* QuotaBalanceResponse , error ) {
195- resp , err := s .cs .newPostRequest ("quotaBalance" , p .toURLValues ())
195+ resp , err := s .cs .newRequest ("quotaBalance" , p .toURLValues ())
196196 if err != nil {
197197 return nil , err
198198 }
@@ -408,7 +408,7 @@ func (s *QuotaService) NewQuotaIsEnabledParams() *QuotaIsEnabledParams {
408408
409409// Return true if the plugin is enabled
410410func (s * QuotaService ) QuotaIsEnabled (p * QuotaIsEnabledParams ) (* QuotaIsEnabledResponse , error ) {
411- resp , err := s .cs .newPostRequest ("quotaIsEnabled" , p .toURLValues ())
411+ resp , err := s .cs .newRequest ("quotaIsEnabled" , p .toURLValues ())
412412 if err != nil {
413413 return nil , err
414414 }
@@ -598,7 +598,7 @@ func (s *QuotaService) NewQuotaStatementParams(account string, domainid string,
598598
599599// Create a quota statement
600600func (s * QuotaService ) QuotaStatement (p * QuotaStatementParams ) (* QuotaStatementResponse , error ) {
601- resp , err := s .cs .newPostRequest ("quotaStatement" , p .toURLValues ())
601+ resp , err := s .cs .newRequest ("quotaStatement" , p .toURLValues ())
602602 if err != nil {
603603 return nil , err
604604 }
@@ -801,7 +801,7 @@ func (s *QuotaService) NewQuotaSummaryParams() *QuotaSummaryParams {
801801
802802// Lists balance and quota usage for all accounts
803803func (s * QuotaService ) QuotaSummary (p * QuotaSummaryParams ) (* QuotaSummaryResponse , error ) {
804- resp , err := s .cs .newPostRequest ("quotaSummary" , p .toURLValues ())
804+ resp , err := s .cs .newRequest ("quotaSummary" , p .toURLValues ())
805805 if err != nil {
806806 return nil , err
807807 }
@@ -1449,7 +1449,7 @@ func (s *QuotaService) NewQuotaTariffListParams() *QuotaTariffListParams {
14491449
14501450// Lists all quota tariff plans
14511451func (s * QuotaService ) QuotaTariffList (p * QuotaTariffListParams ) (* QuotaTariffListResponse , error ) {
1452- resp , err := s .cs .newPostRequest ("quotaTariffList" , p .toURLValues ())
1452+ resp , err := s .cs .newRequest ("quotaTariffList" , p .toURLValues ())
14531453 if err != nil {
14541454 return nil , err
14551455 }
0 commit comments