Skip to content

Recruiter migrate v1#54

Open
shashankiitbhu wants to merge 2 commits into
FrosTiK-SD:mainfrom
shashankiitbhu:recruiterMigrateV1
Open

Recruiter migrate v1#54
shashankiitbhu wants to merge 2 commits into
FrosTiK-SD:mainfrom
shashankiitbhu:recruiterMigrateV1

Conversation

@shashankiitbhu
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread handler/company.go
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
Copy Markdown
Member

Choose a reason for hiding this comment

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

use environment variable

Comment thread handler/company.go

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

Choose a reason for hiding this comment

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

remove LLM comments

Comment thread handler/company.go

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

func batchConvertToObjectID(sArray []string) ([]primitive.ObjectID, error) {
Copy link
Copy Markdown
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

Comment thread handler/company.go
recruiterObj["isActive"] = true
recruiterObj["company"] = companyID

groups, err := batchConvertToObjectID([]string{"645afd0cfec4439851def4de"})
Copy link
Copy Markdown
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