From bd404fb804eb621d701d52ccbc0cd01b80486036 Mon Sep 17 00:00:00 2001 From: cyperdark Date: Fri, 4 Sep 2020 10:16:01 +0000 Subject: [PATCH] forgot about artist/title unicode --- index.js | 10 ++++++++-- package.json | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index acf1448f..99c9e875 100644 --- a/index.js +++ b/index.js @@ -70,8 +70,14 @@ class Api { update: data[0].last_update, }, data: { - artist: data[0].artist, - title: data[0].title, + artist: { + original: data[0].artist, + unicode: data[0].artist_unicode, + }, + title: { + original: data[0].title, + unicode: data[0].title_unicode, + }, creator: { id: +data[0].creator_id, name: data[0].creator, diff --git a/package.json b/package.json index 9213f6b5..e8655664 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "osu-api-extended", - "version": "0.5.0", + "version": "0.5.1", "description": "Package for advanced work with 'osu' api", "main": "index.js", "scripts": {},