make courier field required for dispatches
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aadil Ayub 2024-02-26 00:26:04 +05:00
parent ac9b63a33a
commit 0e1d640a42

View File

@ -60,6 +60,7 @@ const Dispatches: CollectionConfig = {
type: 'relationship',
relationTo: 'couriers',
hasMany: false,
required: true
},
{
name: 'timeSensitive',
@ -91,4 +92,4 @@ const Dispatches: CollectionConfig = {
],
};
export default Dispatches;
export default Dispatches;