Add missing spaces between // and the comment

This commit is contained in:
Marco Realacci 2022-12-13 01:54:48 +01:00
parent c4f2b23858
commit 3bf1c4e262
2 changed files with 1 additions and 3 deletions

View file

@ -30,7 +30,7 @@ func (rt *_router) UpdateUsername(w http.ResponseWriter, r *http.Request, ps htt
return
}
if !stat { //todo: sta regex non me piace
if !stat { // todo: sta regex non me piace
helpers.SendBadRequest(w, "Username must be between 3 and 16 characters long and can only contain letters, numbers and underscores", rt.baseLogger)
return
}

View file

@ -5,8 +5,6 @@ import (
"github.com/notherealmarco/WASAPhoto/service/structures"
)
//this should be changed, but we need to change OpenAPI first
// Get user profile, including username, followers, following, and photos
func (db *appdbimpl) GetUserProfile(uid string, requesting_uid string) (QueryResult, *structures.UserProfile, error) {
// Get user info