The comment seems to acknowledge that this is meant to be for the corporation's alliance history, but it is named wrong and attempts to send a request to a corporations/${corporationID}/corporationhistory endpoint which doesn't exist.
I believe this may be a copy-paste error and needs to be updated to point at the /corporations/${corporationID}/alliancehistory/ ESI route instead.
The
corporation
group has an entry forcorporationHistory
that seems to be set up wrong. https://github.com/ExperiBass/esiJS/blob/1465a2807cb6316b4bbcfe841cc72891ea721a23/src/corporation.js#L4-L19The comment seems to acknowledge that this is meant to be for the corporation's alliance history, but it is named wrong and attempts to send a request to a
corporations/${corporationID}/corporationhistory
endpoint which doesn't exist.I believe this may be a copy-paste error and needs to be updated to point at the
/corporations/${corporationID}/alliancehistory/
ESI route instead.