sunrise-cms/helpers/lotOccupancyDB/updateLotStatus.js

9 lines
378 B
JavaScript

import { clearLotStatusesCache } from "../functions.cache.js";
import { updateRecord } from "./updateRecord.js";
export function updateLotStatus(lotStatusForm, requestSession) {
const success = updateRecord("LotStatuses", lotStatusForm.lotStatusId, lotStatusForm.lotStatus, requestSession);
clearLotStatusesCache();
return success;
}
export default updateLotStatus;