pinokiod 3.8.90 → 3.8.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server/index.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.90",
3
+ "version": "3.8.91",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -3334,8 +3334,9 @@ class Server {
3334
3334
  await this.kernel.refresh()
3335
3335
  res.json({ success: true })
3336
3336
  }))
3337
- this.app.get("/pinokio/peer", ex((req, res) => {
3337
+ this.app.get("/pinokio/peer", ex(async (req, res) => {
3338
3338
  console.log("/pinokio/peer", { proc: this.kernel.processes.info })
3339
+ await this.kernel.refresh()
3339
3340
  res.json({
3340
3341
  home: this.kernel.homedir,
3341
3342
  arch: this.kernel.arch,