Skip to content

Commit

Permalink
Merge pull request #402 from flowforge/storage-fix-0.3.1
Browse files Browse the repository at this point in the history
Storage fix 0.3.1
  • Loading branch information
hardillb authored Mar 21, 2022
2 parents 6123a5e + 147317b commit 012278d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#### 0.3.1: Maintence Release

- Fix broken storage routes (creds/sessions) (#402) @hardillb

#### 0.3.0: Release

- Round down to whole seconds (#375) @hardillb
Expand Down
4 changes: 2 additions & 2 deletions forge/routes/storage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ module.exports = async function (app) {
if (project) {
const creds = await app.db.models.StorageCredentials.byProject(id)
if (creds) {
response.send(creds)
response.send(creds.credentials)
} else {
response.send({})
}
Expand Down Expand Up @@ -145,7 +145,7 @@ module.exports = async function (app) {
if (project) {
const sessions = await app.db.models.StorageSession.byProject(id)
if (sessions) {
response.send(sessions)
response.send(sessions.sessions)
} else {
response.send({})
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flowforge/flowforge",
"version": "0.3.0",
"version": "0.3.1",
"description": "An open source low-code development platform",
"scripts": {
"start": "node forge/app.js",
Expand Down

0 comments on commit 012278d

Please sign in to comment.