Skip to content

Conversation

@shashankiitbhu
Copy link
Contributor

No description provided.

Recruiter map[string]interface{} `json:"recruiter" binding:"required"` // Adjust type as needed
}

var InitialGroupIDs = []string{"645afd0cfec4439851def4de"} // You can move this to constants if needed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use environment variable


type CreateRecruiterAndCompanyRequest struct {
Company model.Company `json:"company" binding:"required"`
Recruiter map[string]interface{} `json:"recruiter" binding:"required"` // Adjust type as needed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove LLM comments


var InitialGroupIDs = []string{"645afd0cfec4439851def4de"} // You can move this to constants if needed

func batchConvertToObjectID(sArray []string) ([]primitive.ObjectID, error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this to utils

recruiterObj["isActive"] = true
recruiterObj["company"] = companyID

groups, err := batchConvertToObjectID([]string{"645afd0cfec4439851def4de"})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this to environment variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants