From 454362f6cafe19efd372624fcaf4a71862985480 Mon Sep 17 00:00:00 2001 From: Farrah Mae Ochoa Date: Thu, 25 Apr 2024 18:58:55 +0400 Subject: [PATCH 1/2] ci: build --- .github/workflows/build-and-deploy-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy-test.yml b/.github/workflows/build-and-deploy-test.yml index 0b2d3102..8c437c82 100644 --- a/.github/workflows/build-and-deploy-test.yml +++ b/.github/workflows/build-and-deploy-test.yml @@ -70,7 +70,7 @@ jobs: - name: Publish to Cloudflare Pages id: publish-to-pages env: - CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_TEST_LINK_TOKEN }} + CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} HEAD_BRANCH: ${{ github.head_ref }} run: | From 0be0e70e39c0e51eaf2e4cdf15cffe5817abce9c Mon Sep 17 00:00:00 2001 From: Farrah Mae Ochoa Date: Thu, 25 Apr 2024 19:02:41 +0400 Subject: [PATCH 2/2] fix: type --- src/utils/object.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/object.ts b/src/utils/object.ts index 229a063e..dba4b57b 100644 --- a/src/utils/object.ts +++ b/src/utils/object.ts @@ -1,4 +1,4 @@ -export const isEmptyObject = (obj: any) => { +export const isEmptyObject = (obj: object) => { let is_empty = true; if (obj && obj instanceof Object) { Object.keys(obj).forEach(key => {