Add teamID to monitor on creation
This commit is contained in:
1 parent
a02f547b2c
commit
e658b4759a
3 files changed
+4
-1
No files matched your search
@@ -118,9 +118,11 @@ const CreateMonitor = () => {
|
||||
form = {
|
||||
...form,
|
||||
description: form.name,
|
||||
teamId: user.teamId,
|
||||
userId: user._id,
|
||||
notifications: monitor.notifications,
|
||||
};
|
||||
console.log(form);
|
||||
const action = await dispatch(
|
||||
createUptimeMonitor({ authToken, monitor: form })
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user