From 03508e73b92c6b437d9a6bceecf9273599f63c6d Mon Sep 17 00:00:00 2001 From: Lynn Smeria Date: Wed, 29 Aug 2018 15:48:15 +0200 Subject: [PATCH] More consistent naming --- package.json | 2 +- src/organise.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4e0a2f4..b7efc44 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "publikator", - "version": "0.14.0", + "version": "0.15.0", "main": "index.js", "repository": "https://github.com/aengl/publikator.git", "author": "Lynn Smeria ", diff --git a/src/organise.js b/src/organise.js index f1c37bc..12b04cc 100644 --- a/src/organise.js +++ b/src/organise.js @@ -91,8 +91,8 @@ module.exports = { {}, { path: newPath, - audio_url: `/assets/albums/${folderName}/${fileName}`, - album_slug: folderName, + audio: `/assets/albums/${folderName}/${fileName}`, + albumSlug: folderName, slug: stripExtension(fileName), }, coverPath