diff --git a/controllers/url.go b/controllers/url.go index 3815732..5941975 100644 --- a/controllers/url.go +++ b/controllers/url.go @@ -214,6 +214,9 @@ func GetAllURLs(ctx *gin.Context, db *bun.DB) { CreatedAt: tinyURL.CreatedAt, ID: tinyURL.ID, UserID: tinyURL.UserID, + LastAccessedAt: tinyURL.LastAccessedAt, + AccessCount: tinyURL.AccessCount, + CreatedBy: tinyURL.CreatedBy, }) }