From 2a39e8dbfab8506b09d0d030f87cac4c079b975a Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Tue, 13 Oct 2015 11:52:17 -0400
Subject: Removed Preference.AltId

---
 web/react/utils/client.jsx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'web/react/utils/client.jsx')

diff --git a/web/react/utils/client.jsx b/web/react/utils/client.jsx
index 4e3505ad2..76a402855 100644
--- a/web/react/utils/client.jsx
+++ b/web/react/utils/client.jsx
@@ -1142,29 +1142,29 @@ export function listIncomingHooks(success, error) {
     });
 }
 
-export function getPreferencesByName(category, name, success, error) {
+export function getPreferenceCategory(category, success, error) {
     $.ajax({
-        url: `/api/v1/preferences/${category}/${name}`,
+        url: `/api/v1/preferences/${category}`,
         dataType: 'json',
         type: 'GET',
         success,
         error: (xhr, status, err) => {
-            var e = handleError('getPreferencesByName', xhr, status, err);
+            var e = handleError('getPreferenceCategory', xhr, status, err);
             error(e);
         }
     });
 }
 
-export function setPreferences(preferences, success, error) {
+export function savePreferences(preferences, success, error) {
     $.ajax({
-        url: '/api/v1/preferences/set',
+        url: '/api/v1/preferences/save',
         dataType: 'json',
         contentType: 'application/json',
         type: 'POST',
         data: JSON.stringify(preferences),
         success,
         error: (xhr, status, err) => {
-            var e = handleError('setPreferences', xhr, status, err);
+            var e = handleError('savePreferences', xhr, status, err);
             error(e);
         }
     });
-- 
cgit v1.2.3-1-g7c22

