Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yeyounging committed Nov 25, 2024
2 parents 7031755 + 71311eb commit 6668a92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/activity/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function ActivityPage() {
body: JSON.stringify(selectedActivityLocal),
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${process.env.NEXT_PUBLIC_MASTER_TOKEN}`,
Authorization: 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJlbWFpbCI6ImFkbWluQGdtYWlsLmNvbSIsIm1lbWJlcklkIjoiNDQ0OTYxMzMtZTU5Ny00NTc0LWIyMGUtZjYxNjdkNDk5MzQyIiwidHlwZSI6ImFjY2VzcyIsImlhdCI6MTczMDIwODQxMiwiZXhwIjo5NzMwMjk0ODEyfQ.DFLME8d-IRhCOOJ_PXKtcxcrDWGIwAOVX8VSepai-PD2XJj1hk_l2hZhtTLSLPjGiAC7y8xaG2LCLQx5jhkqHA',
},
})

Expand Down Expand Up @@ -142,7 +142,7 @@ export default function ActivityPage() {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${process.env.NEXT_PUBLIC_MASTER_TOKEN}`,
Authorization: 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJlbWFpbCI6ImFkbWluQGdtYWlsLmNvbSIsIm1lbWJlcklkIjoiNDQ0OTYxMzMtZTU5Ny00NTc0LWIyMGUtZjYxNjdkNDk5MzQyIiwidHlwZSI6ImFjY2VzcyIsImlhdCI6MTczMDIwODQxMiwiZXhwIjo5NzMwMjk0ODEyfQ.DFLME8d-IRhCOOJ_PXKtcxcrDWGIwAOVX8VSepai-PD2XJj1hk_l2hZhtTLSLPjGiAC7y8xaG2LCLQx5jhkqHA',
},
},
)
Expand Down
2 changes: 1 addition & 1 deletion src/app/home/sg-activity/components/ChoiceSuggestions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function ChoiceSuggestion({
const [responseData, setResponseData] = useState<ActivityData[]>()
const [isloading, setIsLoading] = useState(true)

const masterToken = process.env.NEXT_PUBLIC_MASTER_TOKEN
const masterToken = 'eyJhbGciOiJIUzUxMiJ9.eyJlbWFpbCI6ImFkbWluQGdtYWlsLmNvbSIsIm1lbWJlcklkIjoiNDQ0OTYxMzMtZTU5Ny00NTc0LWIyMGUtZjYxNjdkNDk5MzQyIiwidHlwZSI6ImFjY2VzcyIsImlhdCI6MTczMDIwODQxMiwiZXhwIjo5NzMwMjk0ODEyfQ.DFLME8d-IRhCOOJ_PXKtcxcrDWGIwAOVX8VSepai-PD2XJj1hk_l2hZhtTLSLPjGiAC7y8xaG2LCLQx5jhkqHA'
const activeType = getActiveType(activityType)
const postData = {
spareTime: parseInt(spareTime, 10),
Expand Down

0 comments on commit 6668a92

Please sign in to comment.