short explenation: This function will recieve a listing id return the full data of the users that liked the listing (without password and without swiping history)
path: /user/getListingLikedBy?listingId={listingId}&page={page number}&items={amount of items per page}
will return the data in this format
{
users:[ user objects ]
totalItems: number, amount of total likes for this listing in the DB
}
type: Get
function get:
listingId:string
page:number
items:number
short explenation: This function will recieve a listing id return the full data of the users that liked the listing (without password and without swiping history)
path: /user/getListingLikedBy?listingId={listingId}&page={page number}&items={amount of items per page}
will return the data in this format { users:[ user objects ] totalItems: number, amount of total likes for this listing in the DB }
type: Get
function get: listingId:string page:number items:number