This commit is contained in:
@@ -186,10 +186,7 @@ namespace AyaNova.Api.Controllers
|
||||
//does attach to object exist?
|
||||
if (!badRequest)
|
||||
{
|
||||
//check if object exists
|
||||
//Updated code: this used to check if the o wnerId was -1 to see if it didn't exist, but since ow nerId zapped this seems like the next best way to do it
|
||||
//Not sure at all what the ow nerid check was doing before that verified it's existance, the code is long gone now and I can't be arsed to look it up in the repo history
|
||||
//If the tests pass then it's fine :)
|
||||
//check if object exists
|
||||
if (!BizObjectExistsInDatabase.Exists(attachToObject))
|
||||
{
|
||||
badRequest = true;
|
||||
|
||||
Reference in New Issue
Block a user