mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-10 06:43:00 +00:00
Content Audit: Verify upload docs and fix hashtag bug
- Audited `content/docs/guides/upload-content.md` against codebase. - Verified claims regarding file types, size limits, permissions, and CORS. - Fixed a bug in `js/services/videoNotePayload.js` where user-entered hashtags were dropped. - Added regression test `tests/unit/services/videoNotePayload.test.mjs`. - Generated audit artifacts. - Created completion log. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
5e8b6b0141
commit
4312a78159
7 files changed
+109
-1
No files matched your search
@@ -304,7 +304,7 @@ function normalizeNip71Metadata(rawMetadata) {
|
||||
normalized.segments = segments;
|
||||
}
|
||||
|
||||
const hashtags = normalizeStringArray(rawMetadata.hashtags);
|
||||
const hashtags = normalizeStringArray(rawMetadata.hashtags || rawMetadata.t);
|
||||
if (hashtags.length) {
|
||||
normalized.hashtags = hashtags;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user