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:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user