update endpoint for airdrop loot

This commit is contained in:
CWX 2024-07-05 19:21:21 +01:00
parent 5b9d3fb075
commit f7dce85e0b
2 changed files with 3 additions and 3 deletions

View File

@ -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());
}
}

View File

@ -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<string> =>
{
return this.locationCallbacks.getAirdropLoot(url, info, sessionID);