diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index b515cc6..1234fea 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -20,6 +20,8 @@ jobs: node-version: 20 - name: Install Dependencies run: npm install + - name: Copy ENV variables + run: cp -f src/environments/environment.prod.ts src/environments/environment.ts - name: Build project run: npm run build - name: Publish to Cloudflare Pages diff --git a/src/app/@api/collection.api.ts b/src/app/@api/collection.api.ts index 82cce63..52da99a 100644 --- a/src/app/@api/collection.api.ts +++ b/src/app/@api/collection.api.ts @@ -56,9 +56,6 @@ export class CollectionApi extends BaseApi { public update = (req: WenRequest): Observable => this.request(WEN_FUNC.updateCollection, req); - public approve = (req: WenRequest): Observable => - this.request(WEN_FUNC.approveCollection, req); - public reject = (req: WenRequest): Observable => this.request(WEN_FUNC.rejectCollection, req); } diff --git a/src/app/pages/collection/pages/collection/collection-about/collection-about.component.html b/src/app/pages/collection/pages/collection/collection-about/collection-about.component.html index 4cf058f..835f778 100644 --- a/src/app/pages/collection/pages/collection/collection-about/collection-about.component.html +++ b/src/app/pages/collection/pages/collection/collection-about/collection-about.component.html @@ -33,7 +33,7 @@ >...) - Mint Collection + Mint & Publish Collection
{{ (data.collection$ | async)?.name }}
- - -