clean up sheet flow

This commit is contained in:
arc-alex
2023-11-24 17:47:21 +01:00
parent 111df94d6d
commit e8bcbb4291
6 changed files with 63 additions and 104 deletions
+1 -1
View File
@@ -17,7 +17,6 @@ import {
UserFields,
EndAction,
TimerType,
GoogleSheet,
} from 'ontime-types';
import fs from 'fs';
@@ -370,6 +369,7 @@ export const parseJson = async (jsonData): Promise<DatabaseModel | null> => {
returnData.osc = parseOsc(jsonData) ?? dbModel.osc;
// Import HTTP settings if any
// returnData.http = parseHttp(jsonData, enforce);
// Import GoogleSheet settings if any
returnData.googleSheet = parseGoogleSheet(jsonData, true);
return returnData as DatabaseModel;