gggg
This commit is contained in:
parent
973c48295b
commit
a3b3ff7de9
@ -545,6 +545,8 @@ func HandleTemplateTest(db *gorm.DB) http.HandlerFunc {
|
|||||||
Direction: "Sortant",
|
Direction: "Sortant",
|
||||||
Status: "Envoyé",
|
Status: "Envoyé",
|
||||||
})
|
})
|
||||||
|
ConsumeCredits(db, &user, "template", description, 1)
|
||||||
|
|
||||||
|
|
||||||
w.WriteHeader(resp.StatusCode)
|
w.WriteHeader(resp.StatusCode)
|
||||||
json.NewEncoder(w).Encode(respBody)
|
json.NewEncoder(w).Encode(respBody)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user