Change deprecation warning
This commit is contained in:
@@ -229,5 +229,5 @@ func ExtractUUID(ctx *fiber.Ctx) string {
|
|||||||
|
|
||||||
// SendUsernameDeprecation sends a deprecation warning about usernames.
|
// SendUsernameDeprecation sends a deprecation warning about usernames.
|
||||||
func SendUsernameDeprecation(ctx *fiber.Ctx) error {
|
func SendUsernameDeprecation(ctx *fiber.Ctx) error {
|
||||||
return ctx.Status(http.StatusBadRequest).SendString("Deprecated: Username support has been deprecated since May 1st 2023, please use a valid UUID instead.")
|
return ctx.Status(http.StatusBadRequest).SendString("Deprecated: Username support has been deprecated since April 23rd 2023, please use a valid UUID instead.")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user