notherbase-fs 4.1.2 → 4.1.3
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.
- package/controllers/user.js +0 -1
- package/package.json +1 -1
package/controllers/user.js
CHANGED
|
@@ -190,7 +190,6 @@ export default class User {
|
|
|
190
190
|
if (check(res, user, "Account not found!")) {
|
|
191
191
|
let data = await req.db.Spirit.recallAll(null, user.memory._id);
|
|
192
192
|
let dataToDownload = data.map(d => d.memory);
|
|
193
|
-
dataToDownload.unshift(user.memory.data);
|
|
194
193
|
|
|
195
194
|
successJSON(res, "Data Downloaded", dataToDownload);
|
|
196
195
|
}
|