Skip to content

Commit

Permalink
Fix load sample data script provider insertion (#3971)
Browse files Browse the repository at this point in the history
* Fix load sample data script provider insertion

* Fix tests
  • Loading branch information
AetherUnbound authored Mar 27, 2024
1 parent a675f46 commit 4c2e6e7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions api/api/examples/audio_responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@
"logo_url": None,
"media_count": 3992,
},
{
"display_name": "CCMixter",
"logo_url": None,
"media_count": 1,
"source_name": "ccmixter",
"source_url": "https://ccmixter.org",
},
]
}

Expand Down
3 changes: 2 additions & 1 deletion load_sample_data.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! /usr/bin/env bash
set -e
set -o pipefail
WEB_SERVICE_NAME="${WEB_SERVICE_NAME:-web}"
CACHE_SERVICE_NAME="${CACHE_SERVICE_NAME:-cache}"
UPSTREAM_DB_SERVICE_NAME="${UPSTREAM_DB_SERVICE_NAME:-upstream_db}"
Expand Down Expand Up @@ -85,7 +86,7 @@ VALUES
(now(), 'stocksnap', 'StockSnap', 'https://stocksnap.io', false, 'image'),
(now(), 'freesound', 'Freesound', 'https://freesound.org/', false, 'audio'),
(now(), 'jamendo', 'Jamendo', 'https://www.jamendo.com', false, 'audio'),
(now(), 'wikimedia_audio', 'Wikimedia', 'https://commons.wikimedia.org', false, 'audio');
(now(), 'wikimedia_audio', 'Wikimedia', 'https://commons.wikimedia.org', false, 'audio'),
(now(), 'ccmixter', 'CCMixter', 'https://ccmixter.org', false, 'audio');
"

Expand Down

0 comments on commit 4c2e6e7

Please sign in to comment.