From e2b69bc4d6adbc5261f00a5832f61dad8d86e63f Mon Sep 17 00:00:00 2001 From: jsalzer312 Date: Mon, 27 May 2024 20:45:18 -0400 Subject: [PATCH] Update app.js --- js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index bef3772..e63341b 100644 --- a/js/app.js +++ b/js/app.js @@ -964,9 +964,9 @@ function favoriteContact(row, favStatus){ newFavValue = 0; } - let url = urlBase + "/FavoriteContact." + extension; + let url = urlBase + "/ChangeFavorite." + extension; - let tmp = {UserID:contactId, updatedFavorite:newFavValue}; + let tmp = {ID:contactId, updatedFavorite:newFavValue}; let jsonPayload = JSON.stringify(tmp);