Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/controllers/application.controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func CreateApplication(c *fiber.Ctx) error {
log.Error("Error: Inserting notification")
}
newMailEmbed := mailer.MailEmbed{
Header: "#Recruitment2024",
Header: "#Recruitment2025",
Salutations: "Hello Dreamer,",
Body: utils.CapitalizeDomain(strings.Replace(body.Domain, "_", " ", -1)),
}
Expand Down Expand Up @@ -273,7 +273,7 @@ func SubmitApplication(c *fiber.Ctx) error {
}
email := c.Locals("userData").(map[string]interface{})["email"].(string)
newMailEmbed := mailer.MailEmbed{
Header: "#Recruitment2024",
Header: "#Recruitment2025",
Salutations: "Hello there, SRMKZILLian in the making,",
Body: utils.CapitalizeDomain(strings.Replace(domain, "_", " ", -1)),
}
Expand Down
2 changes: 1 addition & 1 deletion api/controllers/auth.controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func registerUserInDb(user models.UserData) (primitive.ObjectID, error) {
}

newMailEmbed := mailer.MailEmbed{
Header: "#Recruitment2024",
Header: "#Recruitment2025",
Salutations: "Aloha " + user.Name + ",",
Body: "",
}
Expand Down
4 changes: 2 additions & 2 deletions api/utils/notifications/notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ func RecordNotification(notificationType string, userId any, domain string) bool

switch notificationType {
case "NEW_USER":
notification.Text = "Greetings, mortal. Welcome to #Recruitment2024. Your divine journey to becoming an SRMKZILLian starts now. Create a new application to begin your quest."
notification.Markdown = "Hail, brave soul! The path to becoming an SRMKZILLian champion is open, like the gates of Olympus. Begin your epic journey by crafting your first application! #Recruitment2024"
notification.Text = "Greetings, mortal. Welcome to #Recruitment2025. Your divine journey to becoming an SRMKZILLian starts now. Create a new application to begin your quest."
notification.Markdown = "Hail, brave soul! The path to becoming an SRMKZILLian champion is open, like the gates of Olympus. Begin your epic journey by crafting your first application! #Recruitment2025"

case "NEW_APPLICATION":
notification.Text = "Your application has been created."
Expand Down
2 changes: 1 addition & 1 deletion api/utils/templates/draft.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta name="x-apple-disable-message-reformatting" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta content="telephone=no" name="format-detection" />
<title>Recruitments'24</title>
<title>Recruitments'25</title>
<!--[if (mso 16)]>
<style type="text/css">
a {
Expand Down
4 changes: 2 additions & 2 deletions api/utils/templates/start.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta name="x-apple-disable-message-reformatting" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta content="telephone=no" name="format-detection" />
<title>Recruitments '24</title>
<title>Recruitments '25</title>
<!--[if (mso 16)]>
<style type="text/css">
a {
Expand Down Expand Up @@ -776,7 +776,7 @@
By the decree of the gods,
we’ve received your
registration for the annual
2024 SRMKZILLA recruitments!
2025 SRMKZILLA recruitments!
Prepare yourself for an epic
journey worthy of the heroes
of old, as you embark on
Expand Down
2 changes: 1 addition & 1 deletion api/utils/templates/submit.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta name="x-apple-disable-message-reformatting" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta content="telephone=no" name="format-detection" />
<title>Recruitments '24</title>
<title>Recruitments '25</title>
<!--[if (mso 16)]>
<style type="text/css">
a {
Expand Down
2 changes: 1 addition & 1 deletion api/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type LocationData struct {
}

func RootFunction(c *fiber.Ctx) error {
return c.JSON(fiber.Map{"message": "SRMKZILLA Recruitments-24 server running"})
return c.JSON(fiber.Map{"message": "SRMKZILLA Recruitments-25 server running"})
}

func HealthCheck(c *fiber.Ctx) error {
Expand Down
Loading