Remove un-needed 'resources' functions.

This commit is contained in:
projectmoon 2021-01-02 22:12:43 +00:00
parent b042a32f82
commit 8bee670778
1 changed files with 0 additions and 6 deletions

View File

@ -13,12 +13,6 @@ function makeAPI(root) {
const protobufContentType = (messageType) => const protobufContentType = (messageType) =>
({ 'Content-Type': 'application/x-protobuf; messageType="' + 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) { function verifyAndCreate(protobufType, payload) {
let err = protobufType.verify(payload); let err = protobufType.verify(payload);
if (err) throw err; if (err) throw err;