blob: 37b64f465e60141574b27068c16b2f813ddc3d87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import * as aggietime from "./aggietime.js";
const ACTIONS = {
"clock-in": aggietime.clock_in,
};
export const do_action = async (body) => {
const { action, rest } = body;
return await ACTIONS[action](rest);
};
|