dov-yih / speech-registration

speech registrantion for innovation and practice course.
BSD 2-Clause "Simplified" License
3 stars 0 forks source link

Admin Page. #5

Closed dov-yih closed 5 years ago

dov-yih commented 5 years ago
dov-yih commented 5 years ago

Optimization

abstruct the User desconstruction to a helper function.

Or Sequelize had a api for this?

dov-yih commented 5 years ago

Here the issue: https://github.com/sequelize/sequelize/issues/10052 And this: https://github.com/sequelize/sequelize/issues/9055

Office API: Model.toJSON(): http://docs.sequelizejs.com/class/lib/model.js~Model.html#instance-method-toJSON Model.get({plain: true}): http://docs.sequelizejs.com/class/lib/model.js~Model.html#instance-method-get

DOCS: https://github.com/demopark/sequelize-docs-Zh-CN/blob/master/models-definition.md

yidafu commented 5 years ago

May need common Error Modal components.

yidafu commented 5 years ago

Closed! it will fix in next time.