Connecting psc to db (#453)
* hooking up the PSC to the DB. * Updated docs.
This commit is contained in:
1 parent
4071d6c97c
commit
a33750849a
2 files changed
+44
-7
No files matched your search
@@ -528,7 +528,7 @@ const editMonitor = async (req, res) => {
|
||||
|
||||
const createPageSpeedCheck = async (pageSpeedCheckData) => {
|
||||
try {
|
||||
const pageSpeedCheck = await new pageSpeedCheck({ ...pageSpeedCheckData }).save();
|
||||
const pageSpeedCheck = await new PageSpeedCheck({ ...pageSpeedCheckData }).save();
|
||||
return pageSpeedCheck;
|
||||
} catch (error) {
|
||||
throw error;
|
||||
|
||||
Reference in new issue
Block a user