rename chat new to create

This commit is contained in:
Asim Aslam
2022-02-24 16:04:51 +00:00
parent a2b7981d63
commit 343b783722
5 changed files with 159 additions and 158 deletions

View File

@@ -22,7 +22,7 @@ const (
type Chat struct{}
func (c *Chat) New(ctx context.Context, req *pb.NewRequest, rsp *pb.NewResponse) error {
func (c *Chat) Create(ctx context.Context, req *pb.CreateRequest, rsp *pb.CreateResponse) error {
// get the tenant
tenantId := tenant.Id(ctx)