Skip to content

Commit

Permalink
secret 파라미터 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaisqls committed Dec 26, 2023
1 parent a8d7902 commit 56805e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/manage/ProjectApprove.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const ProjectApprove = () => {
setProgress('승인중...')

selected.forEach(async (it) => {
const url = 'https://prod-server.xquare.app/project-secret-manager/project/approve/' + it.id
const url = 'https://prod-server.xquare.app/project-secret-manager/project/approve/' + it.id + '?secret=' + secret
await axios.post(url)
.then((res) => {
setProgressed([...progressed, it]);
Expand Down Expand Up @@ -85,7 +85,7 @@ export const ProjectApprove = () => {

return (
<div className="bg-gray-100 p-4">
<a href={"/admin/list?secret=" + secret}>
<a href={"/admin/list"}>
<h1 className="text-[20px] text-slate-400 font-bold mb-4">등록된 프로젝트 목록 ({data.filter((item) => item.isApproved).length})</h1>
</a>
<h1 className="text-[20px] font-bold mb-4">요청된 프로젝트 목록 ({data.filter((item) => !item.isApproved).length})</h1>
Expand Down

0 comments on commit 56805e2

Please sign in to comment.