Remove un-needed 'resources' functions.
This commit is contained in:
parent
b042a32f82
commit
8bee670778
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue