Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
secret 파라미터 삭제
Browse files Browse the repository at this point in the history
rlaisqls authored Dec 26, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 4afb7d7 commit a8d7902
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
@@ -19,7 +19,7 @@ export const ProjectApprove = () => {
}, []);

useEffect(() => {
const url = 'https://prod-server.xquare.app/project-secret-manager/project'
const url = 'https://prod-server.xquare.app/project-secret-manager/project?secret=' + secret
axios.get(url)
.then((res) => {setData(res.data); setFetchError("")})
.catch((err) => setFetchError("권한이 없습니다"));
@@ -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 + '?secret=' + secret
const url = 'https://prod-server.xquare.app/project-secret-manager/project/approve/' + it.id
await axios.post(url)
.then((res) => {
setProgressed([...progressed, it]);

0 comments on commit a8d7902

Please sign in to comment.