tractatus/public
TheFlow 939e207d00 fix(blog): add missing auth headers to submission modal API calls
Fixed 401 Unauthorized errors in blog validation/submission modal:
- Added Authorization Bearer token to /api/blog/admin/:id fetch (line 153)
- Added Authorization Bearer token to /api/submissions/by-blog-post/:id fetch (line 162)
- Added Authorization Bearer token to /api/submissions/:id/export fetch (line 818)

All admin API endpoints require authentication. The submission modal
was making unauthenticated requests, causing 401 errors when trying
to load article data or export submission packages.

The 404 error on by-blog-post is expected when no submission exists
for that blog post ID yet.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 13:00:11 +13:00
..
.well-known fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
about fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
admin fix(blog): add missing auth headers to submission modal API calls 2025-10-24 13:00:11 +13:00
css fix(css): correct justify-center syntax error in loading overlay 2025-10-24 12:41:53 +13:00
demos fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
docs fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
downloads fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
fonts fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
images fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
js fix(blog): add missing auth headers to submission modal API calls 2025-10-24 13:00:11 +13:00
koha fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
locales fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
about.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
api-reference.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
architecture.html fix(website): governance compliance fixes from pre-Economist audit 2025-10-23 10:56:06 +13:00
blog-post.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
blog.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
case-submission.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
check-version.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
docs-viewer.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
docs.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
faq.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
favicon-new.svg fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
favicon.ico fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
favicon.svg fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
implementer.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
implementer.html.backup fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
index.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
koha.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
leader.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
manifest.json fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
media-inquiry.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
media-triage-transparency.html fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
privacy.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
researcher.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
service-worker.js fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
test-pressure-chart.html fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
version.json fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00