Skip to content

Commit

Permalink
🎨 Improve code format
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraHuang22 committed Sep 27, 2024
1 parent d89d3f2 commit a4dfa51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/nft/url/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -644,8 +644,8 @@ export default class FetchIndex extends Vue {
logTrackerEvent(this, 'NFTUrlMint', 'CrawlUrlData', this.url, 1);
const { data } = await this.$axios.get(`/crawler/?url=${encodeURIComponent(this.encodedURL)}&wallet=${this.address}`)
const { title, description, author, body, images = [] } = data;
let {keywords} = data;
if(isNewsPress) {
let { keywords } = data;
if (isNewsPress) {
keywords = keywords ? `${keywords},NewsPress` : 'NewsPress';
}
if (!body) { throw new Error('CANNOT_CRAWL_THIS_URL') }
Expand Down

0 comments on commit a4dfa51

Please sign in to comment.