Saving token used and time joined
This commit is contained in:
@@ -11,6 +11,11 @@ export default class OrderedObject {
|
||||
this.ids[id] = this.entries.length - 1
|
||||
}
|
||||
|
||||
update(id, data) {
|
||||
let index = this.ids[id]
|
||||
this.entries[index] = data
|
||||
}
|
||||
|
||||
delete(key) {
|
||||
if (typeof key === "number") {
|
||||
return this.entries[key]
|
||||
|
||||
Reference in New Issue
Block a user