Fix json naming of ProgramItem section_id to use camelCase
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2270c69f2b
commit
b5b87fe587
@ -4,7 +4,7 @@ CREATE VIEW program_sequences AS
|
||||
WITH psi_sorted AS (
|
||||
SELECT psi.program_id program_id,
|
||||
json_object(
|
||||
'section_id', psi.section_id,
|
||||
'sectionId', psi.section_id,
|
||||
'duration', psi.duration)
|
||||
obj
|
||||
FROM program_sequence_items AS psi
|
||||
|
@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize};
|
||||
use std::{sync::Arc, time::Duration};
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct ProgramItem {
|
||||
pub section_id: SectionId,
|
||||
#[serde(
|
||||
|
Loading…
x
Reference in New Issue
Block a user