refactor: removed unused code and added routes

This commit is contained in:
David Allen 2025-08-29 18:23:00 -06:00
parent b18746957d
commit 08a9b9bdcf
Signed by: towk
GPG key ID: 0430CDBE22619155
2 changed files with 3 additions and 16 deletions

View file

@ -248,21 +248,6 @@ func (s *Service) GetProfileData() http.HandlerFunc {
}
}
// func (s *Service) CreateProfilePath() http.HandlerFunc {
// return func(w http.ResponseWriter, r *http.Request) {
// w.WriteHeader(http.StatusOK)
// }
// }
// func (s *Service) DeleteProfilePath() http.HandlerFunc {
// return func(w http.ResponseWriter, r *http.Request) {}
// }
// func (s *Service) GetProfilePath() http.HandlerFunc {
// return func(w http.ResponseWriter, r *http.Request) {}
// }
func loadProfileContents(path string) ([]byte, error) {
var (
contents []byte