fix group tenant topic creation
This commit is contained in:
@@ -1235,7 +1235,7 @@ func (a *adapter) TenantGroupCreate(id t.TenantID, topic *t.Topic, owner t.Uid,
|
||||
return err
|
||||
}
|
||||
defer tx.Rollback()
|
||||
if err = a.topicCreate(tx, topic); err != nil {
|
||||
if err = tenantTopicCreate(tx, topic); err != nil {
|
||||
return err
|
||||
}
|
||||
ownerSub := &t.Subscription{TenantID: id, ObjHeader: t.ObjHeader{CreatedAt: topic.CreatedAt}, User: owner.String(),
|
||||
|
||||
Reference in New Issue
Block a user