Open daviddavo opened 3 years ago
Adding the date where a user has done the rageQuit to the subgraph.
This way, it would be possible to query recently ragequitted users the same way we can query recently created users
I think it should just be possible to do a simple member.rageQuitAt = event.block.timestamp inside handleRageQuit
member.rageQuitAt = event.block.timestamp
handleRageQuit
@daviddavo
Sorry for the delay here! We have a field called createdAt that has that date. Does that help?
createdAt
mapping: rageQuit.createdAt = event.block.timestamp.toString();
rageQuit.createdAt = event.block.timestamp.toString();
Adding the date where a user has done the rageQuit to the subgraph.
This way, it would be possible to query recently ragequitted users the same way we can query recently created users
I think it should just be possible to do a simple
member.rageQuitAt = event.block.timestamp
insidehandleRageQuit