08.03.2023, 14:04
Thank you!
As a response from an API call, i get the following table:
Is there a way to convert the "userdata" to a string?
Whenever I try to access it, I get the error message "attempt to index field 'Room' (a userdata value)".
As a response from an API call, i get the following table:
Code:
API 08.03.2023 15:01:36
* table:
["NumberOfBeds"]
* number: 0
["WeekDays"]
* userdata: NULL
["RoomStatusAlias"]
* userdata: NULL
["Floor"]
* userdata: NULL
["Number"]
* userdata: NULL
Is there a way to convert the "userdata" to a string?
Whenever I try to access it, I get the error message "attempt to index field 'Room' (a userdata value)".