Strapi Schema fixed register Console log removed
This commit is contained in:
parent
d03c46fa5f
commit
c5799921d1
2 changed files with 1 additions and 3 deletions
|
|
@ -22,8 +22,7 @@
|
||||||
"owners": {
|
"owners": {
|
||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "manyToMany",
|
"relation": "manyToMany",
|
||||||
"target": "plugin::users-permissions.user",
|
"target": "plugin::users-permissions.user"
|
||||||
"inversedBy": "notes"
|
|
||||||
},
|
},
|
||||||
"lastViewed": {
|
"lastViewed": {
|
||||||
"type": "datetime",
|
"type": "datetime",
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
* Handles the button click.
|
* Handles the button click.
|
||||||
*/
|
*/
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
console.log("TEST")
|
|
||||||
const endpoint = "http://localhost:1337/api/auth/local/register";
|
const endpoint = "http://localhost:1337/api/auth/local/register";
|
||||||
const payload = {
|
const payload = {
|
||||||
email: email,
|
email: email,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue