Updated tests from modified code

This commit is contained in:
Alejandro Celaya
2020-01-19 13:20:46 +01:00
parent d44a4b260e
commit 207a8cef20
3 changed files with 46 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ export default class ShlinkApiClient {
updateShortUrlMeta = (shortCode, meta) =>
this._performRequest(`/short-urls/${shortCode}`, 'PATCH', {}, meta)
.then(() => ({ meta }));
.then(() => meta);
listTags = () =>
this._performRequest('/tags', 'GET')