mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-03-23 21:50:10 +08:00
Make sure CConfirmation.{id, creator} are always strings
This commit is contained in:
parent
4e90811008
commit
d35e3c107c
4
.idea/encodings.xml
Normal file
4
.idea/encodings.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
|
||||
</project>
|
@ -5,9 +5,9 @@ module.exports = CConfirmation;
|
||||
function CConfirmation(community, data) {
|
||||
Object.defineProperty(this, "_community", {"value": community});
|
||||
|
||||
this.id = data.id;
|
||||
this.id = data.id.toString();
|
||||
this.type = data.type;
|
||||
this.creator = data.creator;
|
||||
this.creator = data.creator.toString();
|
||||
this.key = data.key;
|
||||
this.title = data.title;
|
||||
this.receiving = data.receiving;
|
||||
|
Loading…
Reference in New Issue
Block a user