Skip to content

fix: return empty array instead of 500 on empty database#4

Open
wbavon wants to merge 1 commit into
mainfrom
fix/empty-items-response
Open

fix: return empty array instead of 500 on empty database#4
wbavon wants to merge 1 commit into
mainfrom
fix/empty-items-response

Conversation

@wbavon

@wbavon wbavon commented Apr 4, 2026

Copy link
Copy Markdown
Owner

Closes #2

Changes:

  • Add nil check in GetItems handler
  • Return empty JSON array when no items found

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix: items handler returns 500 on empty database

2 participants