fix tenant group topic and member cache
This commit is contained in:
@@ -1226,6 +1226,10 @@ func (a *adapter) TenantGroupCreate(id t.TenantID, topic *t.Topic, owner t.Uid,
|
||||
if topic == nil || settings == nil || topic.Id == "" || settings.Topic != topic.Id || owner.IsZero() {
|
||||
return t.ErrMalformed
|
||||
}
|
||||
topic.TenantID = id
|
||||
topic.Owner = owner.String()
|
||||
settings.TenantID = id
|
||||
settings.OwnerUserID = owner
|
||||
ctx, cancel := a.getContextForTx()
|
||||
if cancel != nil {
|
||||
defer cancel()
|
||||
|
||||
Reference in New Issue
Block a user