Skip to content

Commit 1410376

Browse files
committed
fix: rename getAssetProfieForNFTSE to getAssetProfieForNSE
1 parent a77ec69 commit 1410376

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/app/features/home/details/details.page.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import {
4141
switchTap,
4242
VOID$,
4343
} from '../../../utils/rx-operators/rx-operators';
44-
import { getAssetProfieForNFTSE } from '../../../utils/url';
44+
import { getAssetProfieForNSE } from '../../../utils/url';
4545
import {
4646
DetailedCapture,
4747
InformationSessionService,
@@ -566,7 +566,7 @@ export class DetailsPage {
566566
concatMap(([detailedCapture, tmpShareToken]) =>
567567
defer(() =>
568568
Browser.open({
569-
url: getAssetProfieForNFTSE(
569+
url: getAssetProfieForNSE(
570570
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
571571
detailedCapture.id!,
572572
tmpShareToken

src/app/shared/share/share.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Share } from '@capacitor/share';
33
import { TranslocoService } from '@ngneat/transloco';
44
import { catchError } from 'rxjs/operators';
55
import { urlToDownloadApp } from '../../utils/constants';
6-
import { getAssetProfieForNFTSE } from '../../utils/url';
6+
import { getAssetProfieForNSE } from '../../utils/url';
77
import {
88
DiaBackendAsset,
99
DiaBackendAssetRepository,
@@ -36,7 +36,7 @@ export class ShareService {
3636
.updateCapture$(asset.id, formData)
3737
.pipe(catchError((err: unknown) => this.errorService.toastError$(err)))
3838
.toPromise();
39-
return getAssetProfieForNFTSE(asset.id);
39+
return getAssetProfieForNSE(asset.id);
4040
}
4141

4242
async shareReferralCode(referralCode: string) {

src/app/utils/url.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function getAssetProfileUrl(id: string, token?: string) {
1212
return `https://authmedia.net/asset-profile?cid=${id}`;
1313
}
1414

15-
export function getAssetProfieForNFTSE(id: string, token?: string) {
15+
export function getAssetProfieForNSE(id: string, token?: string) {
1616
if (token) {
1717
return `https://nftsearch.site/asset-profile?cid=${id}&tmp_token=${token}`;
1818
}

0 commit comments

Comments
 (0)