Skip to content

fix: 存在しないリストに対するアイテム操作で404を返すように修正#24

Merged
mohadayo merged 2 commits into
mainfrom
fix/list-not-found-on-item-ops
Apr 21, 2026
Merged

fix: 存在しないリストに対するアイテム操作で404を返すように修正#24
mohadayo merged 2 commits into
mainfrom
fix/list-not-found-on-item-ops

Conversation

@mohadayo
Copy link
Copy Markdown
Owner

変更概要

  • handleAddItem, handleTogglePrepared, handleToggleRequired, handleUpdateAssignee, handleDeleteItemstore.GetList(token) による存在チェックを追加
  • 存在しないリストトークンに対する操作で、サイレントリダイレクトではなく404を返すように修正
  • 存在しないリストに対する操作テスト5件を追加

Closes #23

動作確認手順

  1. go test -v -race ./... で全テスト通過を確認
  2. go vet ./... でコード品質チェック通過を確認
  3. 存在しないリストトークンでアイテム追加 → 404レスポンスを確認

@mohadayo mohadayo merged commit f7a8ac2 into main Apr 21, 2026
1 check passed
@mohadayo mohadayo deleted the fix/list-not-found-on-item-ops branch April 21, 2026 10:20
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: 存在しないリストに対するアイテム操作で404を返すように修正

1 participant