From 25d4b2833960fbfd37f855887cf4ae6dc8b56cbe Mon Sep 17 00:00:00 2001 From: Marco Dengel Date: Mon, 18 Dec 2023 10:09:38 +0100 Subject: [PATCH] chore: add new version to readme --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/ingest/events/post.js | 3 +-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59a879b5..8d3c9154 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index b0ff82cb..a9c48619 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/ingest/events/post.js b/src/ingest/events/post.js index 832ee30f..866d10f0 100644 --- a/src/ingest/events/post.js +++ b/src/ingest/events/post.js @@ -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,