teleclimber / Dropserver

An application platform for your personal web services. https://dropserver.org
Apache License 2.0
42 stars 1 forks source link

app.getUsers() returns raw user data #92

Closed teleclimber closed 1 year ago

teleclimber commented 1 year ago

calling app.getUsers() to get all users from an appspace sandbox returns users in this form:

  {
    appspace_id: 15,
    proxy_id: "6ievqjmh",
    auth_type: "dropid",
    auth_id: "dropid.dummy.develop/2",
    display_name: "gigi",
    avatar: "6ievqjmh-6qwFNM.jpg",
    permissions: [],
    created_dt: "2022-12-12T20:39:51Z",
    last_seen: null
  }

This is the raw data from ds-host that should never make it to the sandbox. It looks like we're not mapping the user data to the correct type.