diff options
author | Nurbol Alpysbayev <anurbol@github.com> | 2021-10-05 14:03:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 14:03:37 +0300 |
commit | 5f24aa1df878a25f23237812cc718cc89cf7b604 (patch) | |
tree | abbf203f6f7cfddf7e9abb76c7b84c277cadaf72 | |
parent | 04eb43f2b2a387987b61a7318908cf18f03d97e0 (diff) |
Update view.jsunpublished-by-undefined
-rw-r--r-- | lib/view.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/view.js b/lib/view.js index 0124bfb7d..5b45a78a7 100644 --- a/lib/view.js +++ b/lib/view.js @@ -213,7 +213,7 @@ class View extends BaseCommand { if (pckmnt.time && pckmnt.time.unpublished) { const u = pckmnt.time.unpublished - const er = new Error('Unpublished by ' + u.name + ' on ' + u.time) + const er = new Error('Unpublished on ' + u.time) er.statusCode = 404 er.code = 'E404' er.pkgid = pckmnt._id |