delete note, add trait to other request

This commit is contained in:
spencerrlongg
2024-07-30 21:22:46 -05:00
parent fccfce2ae8
commit 8684a3efc3
2 changed files with 2 additions and 1 deletions
@@ -15,7 +15,6 @@ trait MayContainCustomFields
$asset_model = AssetModel::find($this->model_id);
}
if ($this->method() == 'PATCH' || $this->method() == 'PUT') {
// this is dependent on the asset update request PR
$asset_model = $this->asset;
}
// collect the custom fields in the request