Skip to content

Commit

Permalink
fix: changer le nom du type d'activation chat en activation contact p…
Browse files Browse the repository at this point in the history
…our la tuile de contact avec Wanda (#1696)
  • Loading branch information
mbarry-ippon committed Apr 28, 2023
1 parent 414abc8 commit 4952aa3
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 46 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
"routes": [
{
"method": "GET",
"path": "/activation-chat",
"handler": "activation-chat.find",
"path": "/activation-tile",
"handler": "activation-tile.find",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/activation-chat/:id",
"handler": "activation-chat.update",
"path": "/activation-tile/:id",
"handler": "activation-tile.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/activation-chat/:id",
"handler": "activation-chat.delete",
"path": "/activation-tile/:id",
"handler": "activation-tile.delete",
"config": {
"policies": []
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"kind": "singleType",
"collectionName": "activation_tile",
"info": {
"name": "Activation contact",
"description": "Permet d'activer ou de désactiver la tuile pour la demande de contact avec Wanda"
},
"options": {
"increments": true,
"timestamps": true,
"draftAndPublish": false
},
"attributes": {
"activation_tile": {
"default": true,
"type": "boolean"
}
}
}
2 changes: 0 additions & 2 deletions back/strapi/api/contacts/models/contacts.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
"type": "enumeration",
"enum": [
"sms",
"email",
"chat",
"rendezvous"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"type": "enumeration",
"enum": [
"sms",
"email",
"chat",
"rendezvous"
]
},
Expand Down
2 changes: 1 addition & 1 deletion back/strapi/scripts/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"labels-epds-traductions",
"parentheque-documents",
"widget-epds-sources",
"activation-chat"
"activation-tile"
]
}

0 comments on commit 4952aa3

Please sign in to comment.