update endpoint for airdrop loot
This commit is contained in:
parent
5b9d3fb075
commit
f7dce85e0b
@ -37,8 +37,8 @@ export class LocationCallbacks
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Handle client/location/getAirdropLoot */
|
/** 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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@ export class LocationStaticRouter extends StaticRouter
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
new RouteAction(
|
new RouteAction(
|
||||||
"/client/location/getAirdropLoot",
|
"/client/airdrop/loot",
|
||||||
async (url: string, info: any, sessionID: string, _output: string): Promise<string> =>
|
async (url: string, info: any, sessionID: string, _output: string): Promise<string> =>
|
||||||
{
|
{
|
||||||
return this.locationCallbacks.getAirdropLoot(url, info, sessionID);
|
return this.locationCallbacks.getAirdropLoot(url, info, sessionID);
|
||||||
|
Loading…
Reference in New Issue
Block a user