Skip to content

Commit

Permalink
add settings to response obj
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed May 21, 2024
1 parent c60a922 commit 9769198
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion LitCalAllFestivities.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,14 @@
}


$responseObj = [ "LitCalAllFestivities" => $FestivityCollection ];
$responseObj = [
"LitCalAllFestivities" => $FestivityCollection,
"Settings" => [
"Locale" => $LOCALE,
"NationalCalendar" => $NationalCalendar,
"DiocesanCalendar" => $DiocesanCalendar
]
];

$response = json_encode( $responseObj );
$responseHash = md5( $response );
Expand Down

0 comments on commit 9769198

Please sign in to comment.