• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

decentraland / events / 24939241526 / 1
65%
master: 65%

Build:
DEFAULT BRANCH: master
Ran 25 Apr 2026 08:19PM UTC
Files 30
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Apr 2026 07:50PM UTC coverage: 64.368% (+6.4%) from 57.935%
24939241526.1

push

github

web-flow
feat: add admin API for event moderation via bearer token (#911)

* feat: add admin API for event moderation via bearer token

* refactor: fold admin bearer auth into existing event routes

* refactor: split admin bearer middleware from user auth

* Refactor admin event routes and add integration tests

* refactor: address admin API review feedback

- Extract shared validateRejectionReason helper in Event/utils.ts to
  unify the duplicated trim/non-empty/length checks previously in
  admin.ts (getRejectionReason) and updateEvent.ts (normalizeRejectionReason).
- Export editEventAttributesWithoutRejected from Event/types.ts and
  reuse it in admin and updateEvent instead of recomputing the filter.
- Introduce adminServiceProfile and adminServiceSessionProfile builders
  to replace the inline DEFAULT_PROFILE_SETTINGS spreads, making the
  session-profile (subscriptions: []) callsite explicit.
- Convert adminBearer middleware to async/await with try/catch.
- Tighten EventUpdate openapi schema with additionalProperties: false
  so the PATCH oneOf disambiguates against the admin schemas.

* fix: Lint

---------

Co-authored-by: LautaroPetaccio <lausuper@gmail.com>

299 of 405 branches covered (73.83%)

Branch coverage included in aggregate %.

3276 of 5149 relevant lines covered (63.62%)

2.81 hits per line

Source Files on job 24939241526.1
  • Tree
  • List 30
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 24939241526
  • 8e4ba987 on github
  • Prev Job for on master (#24753292401.1)
  • Next Job for on master (#25015316267.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc