Skip to content

Commit

Permalink
Update this.data.link
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali I. Avci committed Jan 4, 2022
1 parent a7df05b commit 77a07f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,10 @@ export default class LinkTool {

const link = response.link || this.data.link;

this.data = { meta: metaData };
this.data = {
meta: metaData,
link,
};

if (!metaData) {
this.fetchingFailed(this.api.i18n.t('Wrong response format from the server'));
Expand Down

0 comments on commit 77a07f2

Please sign in to comment.