Fix colour not being sent properly by backend (#81)
All checks were successful
Backend Build and Test / build (push) Successful in 3m0s
Backend Deploy / build (push) Successful in 14s

Reviewed-on: #81
This commit was merged in pull request #81.
This commit is contained in:
2025-05-25 14:36:17 +02:00
parent 5a233073c7
commit f9fb956efd
4 changed files with 38 additions and 21 deletions

View File

@@ -28,3 +28,7 @@ func ConvertStringToColour(colourStr string) (int, error) {
}
return colour, nil
}
func ConvertColourToString(colour int) string {
return fmt.Sprintf("#%06X", colour)
}