From cb92ffe3dfd28e154997b590fe53f3132375e519 Mon Sep 17 00:00:00 2001 From: jeff Date: Sat, 2 Jan 2021 22:12:43 +0000 Subject: [PATCH] Remove un-needed 'resources' functions. --- static/scripts/api.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/static/scripts/api.js b/static/scripts/api.js index c0785eb..825e0a5 100644 --- a/static/scripts/api.js +++ b/static/scripts/api.js @@ -13,12 +13,6 @@ function makeAPI(root) { const protobufContentType = (messageType) => ({ 'Content-Type': 'application/x-protobuf; messageType="' + messageType + '"' }); - const attributesResource = (username, characterID) => - '/api/cofd/' + username + '/' + characterID + '/attributes'; - - const skillResource = (username, characterID, skillName) => - '/api/cofd/' + username + '/' + characterID + '/skills'; - function verifyAndCreate(protobufType, payload) { let err = protobufType.verify(payload); if (err) throw err;