mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 06:38:45 +05:00
SessionS.AuthorizeEventWithDigest protecting empty attributes reply
This commit is contained in:
@@ -1473,7 +1473,7 @@ func (smg *SMGeneric) BiRPCv1AuthorizeEventWithDigest(clnt rpcclient.RpcClientCo
|
||||
if err = smg.BiRPCv1AuthorizeEvent(clnt, args, &initAuthRply); err != nil {
|
||||
return
|
||||
}
|
||||
if args.GetAttributes {
|
||||
if args.GetAttributes && initAuthRply.Attributes != nil {
|
||||
authReply.AttributesDigest = utils.StringPointer(initAuthRply.Attributes.Digest())
|
||||
}
|
||||
if args.AuthorizeResources {
|
||||
|
||||
Reference in New Issue
Block a user