fix: recording save functionality and authentication

- Fix artist_name null handling in header component with email fallback
- Fix authentication in recording endpoints to use req.accountability
- Change duration field type from integer to double precision for millisecond precision
- Add createRecording service function with proper authentication
- Update play page to use fetch API for recording saves

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Valknar XXX
2025-10-28 05:16:36 +01:00
parent 5bd2d9c215
commit a252da6d9d
5 changed files with 65 additions and 31 deletions

View File

@@ -2259,7 +2259,7 @@ fields:
foreign_key_column: null
- collection: sexy_recordings
field: duration
type: integer
type: float
meta:
collection: sexy_recordings
conditions: null
@@ -2282,11 +2282,11 @@ fields:
schema:
name: duration
table: sexy_recordings
data_type: integer
data_type: double precision
default_value: null
max_length: null
numeric_precision: 32
numeric_scale: 0
numeric_precision: 53
numeric_scale: null
is_nullable: false
is_unique: false
is_indexed: false