Skip to content

refactor: added admin postition authorization on post-status - #88

Merged
ayush00git merged 9 commits into
mainfrom
refactor/post-status
Jun 23, 2026
Merged

ayush00git merged 9 commits into
mainfrom
refactor/post-status

Conversation

@ayush00git

Copy link
Copy Markdown
Owner

References #80 #75

@ayush00git

ayush00git commented Jun 22, 2026 •

Copy link
Copy Markdown
Owner Author

the status queries in handlers/admin_post.go? The GetXENPosts, GetAEPosts, and GetJEPosts APIs still query for PascalCase strings
like "Pending_XEN" and "Pending_AE", which causes the tests and the admin dashboard to return 0 posts when seeded/updated with lowercase constants.

@ayush00git ayush00git changed the title refactor: postStatus apis to allow admin postition authorization refactor: added admin postition authorization on post-status Jun 23, 2026
@ayush00git
ayush00git merged commit 51d3bf6 into main Jun 23, 2026
1 check passed
@ayush00git
ayush00git deleted the refactor/post-status branch June 24, 2026 17:46
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.

1 participant