consistent profile image, initials with background color as backup, better profile image editing
This commit is contained in:
@@ -66,7 +66,7 @@ router.get("/renting", authenticateToken, async (req, res) => {
|
||||
{
|
||||
model: User,
|
||||
as: "owner",
|
||||
attributes: ["id", "firstName", "lastName"],
|
||||
attributes: ["id", "firstName", "lastName", "imageFilename"],
|
||||
},
|
||||
],
|
||||
order: [["createdAt", "DESC"]],
|
||||
@@ -94,7 +94,7 @@ router.get("/owning", authenticateToken, async (req, res) => {
|
||||
{
|
||||
model: User,
|
||||
as: "renter",
|
||||
attributes: ["id", "firstName", "lastName"],
|
||||
attributes: ["id", "firstName", "lastName", "imageFilename"],
|
||||
},
|
||||
],
|
||||
order: [["createdAt", "DESC"]],
|
||||
|
||||
Reference in New Issue
Block a user