Skip to content

Commit

Permalink
Update AuthwithToken 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
fchrgrib committed Jun 15, 2023
1 parent dd968fe commit 44303fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/profile/UpdatePhotoProfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func UpdatePhotoProfile(c *gin.Context, router *gin.RouterGroup) {
}

photoProfileUser.Path = path
user.PhotoProfile = "https://wallpapercollectapi-production-c728.up.railway.app/photo_profile/" + uid
user.PhotoProfile = "https://wallpapercollectapi-production-c728.up.railway.app/wallpaper/photo_profile/" + uid
if err := db.Table("photo_profile").Save(&photoProfileUser).Error; err != nil {
c.JSON(http.StatusInternalServerError, gin.H{
"status": err,
Expand Down
2 changes: 1 addition & 1 deletion controllers/wallpaperpage/WallpaperCollection.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func WallpaperCollection(c *gin.Context) {
for _, value := range wallpaperCollect {
wallpaperStatus = append(
wallpaperStatus, models.Images{
ImageUrl: "https://wallpapercollectapi-production-c728.up.railway.app/images/" + value.ImageId + "/",
ImageUrl: "https://wallpapercollectapi-production-c728.up.railway.app/wallpaper/images/" + value.ImageId + "/",
ImageId: value.ImageId,
ImageName: value.ImageName,
})
Expand Down

3 comments on commit 44303fc

@vercel
Copy link

@vercel vercel bot commented on 44303fc Jun 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 44303fc Jun 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 44303fc Jun 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.