mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Replaced hardcoded strings with consts in RPC.Call methods
This commit is contained in:
committed by
Dan Christian Bogos
parent
413e47ff37
commit
d1787cb3fa
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user