metaforecast/src/backend/flow/history/updateHistory.ts

10 lines
294 B
TypeScript
Raw Normal View History

import { databaseReadWithReadCredentials, databaseUpsert } from '../../database/database-wrapper';
2022-03-16 21:02:34 +00:00
export async function updateHistory() {
let latest = await databaseReadWithReadCredentials({ group: "combined" });
await databaseUpsert({
contents: latest,
group: "history",
});
}