You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Updating a BikeTag with admin credentials and only the tagnumber property in a predetermined game makes the API unable to load the BikeTags from that game.
To Reproduce
Steps to reproduce the behavior:
Call method
const tag = BikeTagClient.createTagObject({tagnumber: 26})
(new BikeTagClient(adminConfig)).updateTag(tag)
(new BikeTagClient(clientConfig)).getTags(undefined, {
game: game.name,
hash: game.mainhash,
source: 'imgur',
})
See error
{
"status": 500,
"data": null,
"error": {
"message": "Cannot read properties of undefined (reading 'length')",
"stack": "TypeError: Cannot read properties of undefined (reading 'length')\n at pe (http://prime.localhost:8080/node_modules/.vite/deps/biketag.js"
},
"success": false,
"source": "imgur"
}
Expected behavior
Expected an error if the BikeTag is malformed.
Environment (please complete the following information):
Library version: 2.1.4
OS: Windows 10 Home
NodeJS version: v16.14.0
The text was updated successfully, but these errors were encountered:
Describe the bug
Updating a BikeTag with admin credentials and only the tagnumber property in a predetermined game makes the API unable to load the BikeTags from that game.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected an error if the BikeTag is malformed.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: