deliton / eldenring-api

Open source API for the awesome Elden Ring game :)
243 stars 33 forks source link

Error fetching amount field in dmgNegation (armor query) #32

Open avm74 opened 6 months ago

avm74 commented 6 months ago

Hello! I've been playing around a little bit with this api and I ran into this issue when trying to get the amount subfield in dmgNegation for the armor query:

"errors": [ { "message": "Int cannot represent non-integer value: 6.1", "locations": [ { "line": 14, "column": 9 } ], "path": [ "armor", 86, "dmgNegation", 0, "amount" ], "extensions": { "code": "INTERNAL_SERVER_ERROR", "exception": { "message": "Int cannot represent non-integer value: 6.1" } } }

It looks like a simple type error from outside, but I just wanted to let you know.

Thank you for the great work!

EDIT: Im fetching the data using GraphQL