Skip to content

Commit

Permalink
chore: add new version to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
marco79cgn committed Dec 18, 2023
1 parent 596d506 commit 25d4b28
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.7.2] - 2023-12-18

- feat: activate `dts` plugin for all institutions

## [1.7.1] - 2023-12-12

- feat: added allow list by institution for `dts` plugin
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ard-eventhub",
"version": "1.7.1",
"version": "1.7.2",
"description": "ARD system to distribute real-time (live) metadata for primarily radio broadcasts.",
"main": "./src/ingest/index.js",
"engines": {
Expand Down
3 changes: 1 addition & 2 deletions src/ingest/events/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,8 @@ module.exports = async (req, res) => {
// add opt-out plugins
const isDtsPluginSet = message.plugins?.find((plugin) => plugin.type === 'dts')
const isMusic = req.body.type === 'music'
const isInDtsAllowList = DTS_INSTITUTION_ALLOW_LIST.includes(req.user.institutionId)

if (!isDtsPluginSet && isMusic && isInDtsAllowList) {
if (!isDtsPluginSet && isMusic) {
message.plugins.push({
type: 'dts',
isDeactivated: false,
Expand Down

0 comments on commit 25d4b28

Please sign in to comment.