Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Add .dbType to profile getters
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazee committed Feb 8, 2021
1 parent e35f69e commit 3ec9613
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/profiles.js
Expand Up @@ -15,6 +15,7 @@ export function setup (wsServer) {
profileEntry.url = constructUserUrl(userId)
profileEntry.userId = userId
profileEntry.dbUrl = publicUserDb.url
profileEntry.dbType = publicUserDb.dbType
return profileEntry
})

Expand Down
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -67,6 +67,7 @@ export async function start ({port, configDir, simulateHyperspace, domain, debug
url: constructUserUrl(userId),
userId: userId,
dbUrl: db.url,
dbType: publicUserDb.dbType,
value: profileEntry.value
})
} catch (e) {
Expand Down

0 comments on commit 3ec9613

Please sign in to comment.