remove username from kill interface
This commit is contained in:
@@ -3,3 +3,8 @@ node_modules
|
|||||||
.env.example
|
.env.example
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
out
|
out
|
||||||
|
src/generated
|
||||||
|
coverage
|
||||||
|
.github
|
||||||
|
.vscode
|
||||||
|
.stoplight
|
||||||
@@ -13,7 +13,7 @@ interface PlayerConnect {
|
|||||||
match_id: number
|
match_id: number
|
||||||
}
|
}
|
||||||
|
|
||||||
router.post(
|
router.put(
|
||||||
'/:playerId/connect',
|
'/:playerId/connect',
|
||||||
param('playerId').exists().withMessage('Missing Player ID').bail().isNumeric().withMessage('Player ID is not numeric'),
|
param('playerId').exists().withMessage('Missing Player ID').bail().isNumeric().withMessage('Player ID is not numeric'),
|
||||||
validateErrors,
|
validateErrors,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ export interface LoadoutKillData {
|
|||||||
|
|
||||||
interface PlayerKillData {
|
interface PlayerKillData {
|
||||||
velocity: number
|
velocity: number
|
||||||
name: string
|
|
||||||
loadout: LoadoutKillData
|
loadout: LoadoutKillData
|
||||||
current_weapon: WeaponKillData
|
current_weapon: WeaponKillData
|
||||||
state: string
|
state: string
|
||||||
|
|||||||
Reference in New Issue
Block a user