forked from FoundKeyGang/FoundKey
Francis Dinh
bfba54524d
`createdAt` in `insertNote` now will default to the current date. Also refactor poll insert: Instead of testing hasPoll, just do a null check on data.poll since it's a more reliable indicator for whether a poll exists (and also tsc won't complain about data.poll being possibly null). |
||
---|---|---|
.. | ||
.vscode | ||
assets | ||
migration | ||
src | ||
test | ||
.eslintignore | ||
.eslintrc.cjs | ||
.mocharc.json | ||
jsconfig.json | ||
ormconfig.js | ||
package.json | ||
tsconfig.json | ||
watch.mjs |