update
This commit is contained in:
@@ -62,7 +62,7 @@ type userInfo struct {
|
||||
accountNo string
|
||||
}
|
||||
|
||||
func (s *Srv) Rpa(companyID float64, month float64, year float64) error {
|
||||
func (s *Srv) Rpa(companyID float64, month float64, year float64, devMode bool) error {
|
||||
type CompanyInfo struct {
|
||||
company *company.Company // float64.Company türünü gömme
|
||||
month float64 // yeni bir alan ekliyoruz
|
||||
@@ -79,7 +79,7 @@ func (s *Srv) Rpa(companyID float64, month float64, year float64) error {
|
||||
// }
|
||||
|
||||
//todo: readb company details by name
|
||||
b := bot.NewLucaBot()
|
||||
b := bot.NewLucaBot(devMode)
|
||||
emitLog("Aktarım Başladı")
|
||||
err = b.Login(user, month, year)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user