Skip to content

Commit

Permalink
UPD: New Aki Airdrop Request handler
Browse files Browse the repository at this point in the history
  • Loading branch information
paulov-t committed Sep 12, 2022
1 parent ddc053c commit 49e4d78
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Controllers/ResponseController.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const { logger } = require('../../core/util/logger');
const { responses } = require('./../functions/response');
const { CustomizationController } = require('./CustomizationController');
const { QuestController } = require('./QuestController');
const { LootController } = require('./LootController');


/**
Expand Down Expand Up @@ -281,6 +282,14 @@ action: (url, info, sessionID) => {
return JSON.stringify(airdropSettings);
}
},
{
url: "/client/location/getAirdropLoot",
action: (url, info, sessionID) => {
const result = LootController.GenerateAirdropLootListForAkiAirdrop()

return JSON.stringify(result);
}
},
/**
* This is called by the Client mod whenever a person is killed
* At time of writing. "info" contains
Expand Down

0 comments on commit 49e4d78

Please sign in to comment.