fix(api): fix route registration for license key API #255

Merged
jmiller merged 1 commits from fix/api-route-registration into dev 2026-05-30 21:44:24 +00:00
Owner

Fix two compilation errors:

  • reqRepoAdmin() -> reqAdmin() (correct function name)
  • m.Delete(handler) -> m.Delete("", handler) (needs route pattern)

These errors prevented the binary from building successfully.

@MokoBot (Claude Opus 4.6)

Fix two compilation errors: - `reqRepoAdmin()` -> `reqAdmin()` (correct function name) - `m.Delete(handler)` -> `m.Delete("", handler)` (needs route pattern) These errors prevented the binary from building successfully. @MokoBot (Claude Opus 4.6)
jmiller added 1 commit 2026-05-30 21:44:18 +00:00
fix(api): fix route registration — reqAdmin and m.Delete pattern
Branch Policy Check / Verify merge target (pull_request) Successful in 1s
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
PR RC Release / Build RC Release (pull_request) Successful in 2s
Universal: PR Check / Validate PR (pull_request) Failing after 5s
Branch Cleanup / Delete merged branch (pull_request) Successful in 1s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || 'development' }}) (pull_request) Successful in 52s
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
470364e50c
Fix two compilation errors in license key API routes:
- reqRepoAdmin() does not exist, use reqAdmin() instead
- m.Delete(handler) needs route pattern: m.Delete("", handler)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit 8808dfc3ce into dev 2026-05-30 21:44:24 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#255