You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/services/ResourceService.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -385,7 +385,7 @@ async function deleteResource (currentUser, resource) {
385
385
undefined)
386
386
387
387
if(!ret){
388
-
thrownewerrors.BadRequestError(`User ${handle||resource.memberHandle} doesn't have resource with roleId: ${resource.roleId} in challenge ${challengeId}`)
388
+
thrownewerrors.NotFoundError(`User ${handle||resource.memberHandle} doesn't have resource with roleId: ${resource.roleId} in challenge ${challengeId}`)
0 commit comments