mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Replaced TenantIDWithOpts with TenantIDWithAPIOpts
This commit is contained in:
committed by
Dan Christian Bogos
parent
8b0748b139
commit
a6f41adaf9
@@ -750,16 +750,16 @@ type TenantID struct {
|
||||
ID string
|
||||
}
|
||||
|
||||
type TenantIDWithOpts struct {
|
||||
type TenantIDWithAPIOpts struct {
|
||||
*TenantID
|
||||
Opts map[string]interface{}
|
||||
APIOpts map[string]interface{}
|
||||
}
|
||||
|
||||
func (tID *TenantID) TenantID() string {
|
||||
return ConcatenatedKey(tID.Tenant, tID.ID)
|
||||
}
|
||||
|
||||
func (tID *TenantIDWithOpts) TenantIDConcatenated() string {
|
||||
func (tID *TenantIDWithAPIOpts) TenantIDConcatenated() string {
|
||||
return ConcatenatedKey(tID.Tenant, tID.ID)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user