Fix: Palworld results - Name of the server is empty (#497)

* Fix: Palworld results - Name of the server is empty

* #497 - refactor of feedback

* #497 - refactor of feedback from Cosmin
This commit is contained in:
Sebastian Schmidt 2024-01-21 22:16:56 +01:00 committed by GitHub
parent 7f373212bb
commit 67e0cd8809
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -10,4 +10,9 @@ export default class palworld extends Epic {
this.deploymentId = '0a18471f93d448e2a1f60e47e03d3413'
this.authByExternalToken = true
}
async run (state) {
await super.run(state)
state.name = state.raw.attributes.NAME_s
}
}