diff --git a/project/src/callbacks/LocationCallbacks.ts b/project/src/callbacks/LocationCallbacks.ts index 4ad4c054..77666cd7 100644 --- a/project/src/callbacks/LocationCallbacks.ts +++ b/project/src/callbacks/LocationCallbacks.ts @@ -37,8 +37,8 @@ export class LocationCallbacks } /** Handle client/location/getAirdropLoot */ - public getAirdropLoot(url: string, info: IEmptyRequestData, sessionID: string): string + public getAirdropLoot(url: string, info: IEmptyRequestData, sessionID: string): any { - return this.httpResponse.noBody(this.locationController.getAirdropLoot()); + return this.httpResponse.getBody(this.locationController.getAirdropLoot()); } } diff --git a/project/src/routers/static/LocationStaticRouter.ts b/project/src/routers/static/LocationStaticRouter.ts index cd264fe0..88f962b8 100644 --- a/project/src/routers/static/LocationStaticRouter.ts +++ b/project/src/routers/static/LocationStaticRouter.ts @@ -23,7 +23,7 @@ export class LocationStaticRouter extends StaticRouter }, ), new RouteAction( - "/client/location/getAirdropLoot", + "/client/airdrop/loot", async (url: string, info: any, sessionID: string, _output: string): Promise => { return this.locationCallbacks.getAirdropLoot(url, info, sessionID);