mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-03-14 06:06:15 +01:00
Add missing spaces between // and the comment
This commit is contained in:
parent
c4f2b23858
commit
3bf1c4e262
2 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue