Replaced hardcoded strings with consts in RPC.Call methods

This commit is contained in:
adragusin
2019-11-22 15:34:41 +02:00
committed by Dan Christian Bogos
parent 413e47ff37
commit d1787cb3fa
65 changed files with 444 additions and 324 deletions

View File

@@ -23,7 +23,7 @@ import "github.com/cgrates/cgrates/utils"
func init() {
c := &ImportTpFromFolder{
name: "import_tp_from_folder",
rpcMethod: "ApierV1.ImportTariffPlanFromFolder",
rpcMethod: utils.ApierV1ImportTariffPlanFromFolder,
}
commands[c.Name()] = c
c.CommandExecuter = &CommandExecuter{c}