I was making a tool to easily delete repls taking a high amount of storage so I used grabbed the graphql query replit uses. When I went through the data in the currentUser.storageInfo.accountStorageUtilization.perRepl
array, I noticed that for each repl in it, currentUser.storageInfo.accountStorageUtilization.perRepl[<index>].usage
was not equal to the actual storage displayed when going to the repl link or when viewing it here:
So, i’m wondering, what method does Replit use to get the storage? I was thinking that maybe it just used the storage from a
repl
query, but looking through the browser requests, that didn’t seem to be the case.