Skip to content
This repository was archived by the owner on Sep 28, 2023. It is now read-only.

Commit 45cf84d

Browse files
committed
Fix status endpoint
1 parent d50b674 commit 45cf84d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/actions/status-check.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ const _ = require("lodash");
66
const SyncAgent = require("../lib/sync-agent");
77

88
function statusCheckAction(req: THullRequest, res: $Response): void {
9-
if (_.has(req, "hull.ship.private_settings")) {
9+
if (_.has(req, "hull.connector.private_settings")) {
1010
const { client } = req.hull;
11-
const connector = req.hull.connector || req.hull.ship;
11+
const connector = req.hull.connector;
1212
const syncAgent = new SyncAgent(req.hull);
1313
const messages: Array<string> = [];
1414
let status: string = "ok";

0 commit comments

Comments
 (0)