Skip to content

Commit

Permalink
Merge pull request #63 from verida/feature/output-old-fields-too
Browse files Browse the repository at this point in the history
duplicate data to maxUsers and currentUsers fields for backwards comptibility
  • Loading branch information
nick-verida authored Jul 31, 2023
2 parents 50d68fd + 8743744 commit c18b6c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/build.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const BUILD_DETAILS = {buildTimestamp: "2023-07-21T04:18:40+00:00"};
export const BUILD_DETAILS = {buildTimestamp: "2023-07-31T00:48:27+00:00"};
4 changes: 3 additions & 1 deletion src/controllers/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ class SystemController {

const results = {
maxStorageSlots: parseInt(process.env.MAX_USERS),
storageSlotsUsed,
maxUsers: parseInt(process.env.MAX_USERS),
storageSlotsUsed: storageSlotsUsed,
currentUsers: storageSlotsUsed,
metrics: metrics,
version: packageJson.version,
publicKey: wallet.publicKey,
Expand Down

0 comments on commit c18b6c1

Please sign in to comment.