Lib: Set started_active field for new driver in TeamSwitchCard
This commit is contained in:
@ -82,6 +82,7 @@
|
|||||||
headshot: headshot_blob, // NOTE: Duplicates the image, but no issue for low volume
|
headshot: headshot_blob, // NOTE: Duplicates the image, but no issue for low volume
|
||||||
team: team_value,
|
team: team_value,
|
||||||
active: true,
|
active: true,
|
||||||
|
started_active: false,
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
await pb.collection("drivers").create(new_driver_data);
|
await pb.collection("drivers").create(new_driver_data);
|
||||||
|
Reference in New Issue
Block a user