reanme GetUserArtwork to GetUserProfile

This commit is contained in:
perennial
2024-10-11 18:35:43 +11:00
parent bc0af0603f
commit a95d344352
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ func handleSeriesData(series json.RawMessage, category UserArtCategory) ([]Novel
return novelSeries, mangaSeries
}
func GetUserArtwork(r *http.Request, id string, category UserArtCategory, page int, getTags bool) (User, error) {
func GetUserProfile(r *http.Request, id string, category UserArtCategory, page int, getTags bool) (User, error) {
var user User
// Initialize all count fields
+1 -1
View File
@@ -33,7 +33,7 @@ func fetchData(r *http.Request, getTags bool) (userPageData, error) {
return userPageData{}, err
}
user, err := core.GetUserArtwork(r, id, category, page, getTags)
user, err := core.GetUserProfile(r, id, category, page, getTags)
if err != nil {
return userPageData{}, err
}