From 8bee670778f42288edaec96a962ed9389c1201d2 Mon Sep 17 00:00:00 2001 From: projectmoon 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;