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

GrottoCenter / grottocenter-api / 25120504056
86%
develop: 87%

Build:
Build:
LAST BUILD BRANCH: feat/admin-security-hardening
DEFAULT BRANCH: develop
Ran 29 Apr 2026 04:22PM UTC
Jobs 1
Files 378
Run time 2min
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

29 Apr 2026 04:17PM UTC coverage: 86.32% (+0.009%) from 86.311%
25120504056

Pull #1542

github

ClemRz
fix(organization): coerce empty-string coordinates to null before DB update

Empty latitude/longitude strings from the frontend caused a PostgreSQL
22P02 error (invalid input syntax for type numeric) on PUT
/api/v1/organizations/:id.

Add coerceToNumeric utility (mirrors coerceToInt) that converts empty
and whitespace-only strings to null. Apply it in
GrottoService.getConvertedDataFromClientRequest, GrottoService.createGrotto,
CaveService.getConvertedDataFromClient, and the cave update controller.

Remove the ad-hoc delete-on-empty-string hack from createGrotto.
Pull Request #1542: fix(organization): coerce empty-string coordinates to null

2939 of 3552 branches covered (82.74%)

Branch coverage included in aggregate %.

12 of 14 new or added lines in 4 files covered. (85.71%)

6103 of 6923 relevant lines covered (88.16%)

94.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
89.09
-3.22% api/controllers/v1/cave/update.js
Jobs
ID Job ID Ran Files Coverage
1 25120504056.1 29 Apr 2026 04:22PM UTC 378
86.32
GitHub Action Run
Source Files on build 25120504056
  • Tree
  • List 378
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25120504056
  • Pull Request #1542
  • PR Base - develop (#25118073857)
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