0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-31 08:42:40 +00:00

Add tests for lock API functions

This commit is contained in:
G.Ambatte
2025-04-10 19:15:34 +12:00
parent 73bb6acc14
commit 0c33df1cd6
3 changed files with 591 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ function LockNotification(props) {
const [reviewState, setReviewState] = React.useState(props.reviewRequested);
const removeLock = async ()=>{
await request.put(`/admin/lock/review/request/${props.shareId}`)
await request.put(`/api/lock/review/request/${props.shareId}`)
.then(()=>{
setReviewState(true);
});