feat(api): fix POST /invoice
This commit is contained in:
@@ -1,60 +1,18 @@
|
||||
{
|
||||
"gitea_url": "https://git.schreifuchs.ch",
|
||||
"gitea_token": "",
|
||||
"repos": [
|
||||
{
|
||||
"owner": "lou-taylor",
|
||||
"repo": "lou-taylor-web"
|
||||
},
|
||||
{
|
||||
"owner": "lou-taylor",
|
||||
"repo": "lou-taylor-api"
|
||||
},
|
||||
{
|
||||
"owner": "lou-taylor",
|
||||
"repo": "accounting"
|
||||
}
|
||||
],
|
||||
"min_duration": "15m",
|
||||
"hourly": 16,
|
||||
"from_entity": {
|
||||
"name": "schreifuchs.ch",
|
||||
"iban": "",
|
||||
"address": {
|
||||
"street": "",
|
||||
"number": "",
|
||||
"zip_code": "",
|
||||
"place": "",
|
||||
"country": ""
|
||||
},
|
||||
"contact": ""
|
||||
},
|
||||
"to_entity": {
|
||||
"name": "",
|
||||
"address": {
|
||||
"street": "",
|
||||
"number": "",
|
||||
"zip_code": "",
|
||||
"place": "",
|
||||
"country": ""
|
||||
},
|
||||
"contact": "Loana Groux"
|
||||
},
|
||||
"pdf_generator_url": "http://localhost:3030",
|
||||
"mailer": {
|
||||
"email": {
|
||||
"smtp": {
|
||||
"host": "mail.your-server.de",
|
||||
"port": "465",
|
||||
"user": "",
|
||||
"password": ""
|
||||
"host": "smtp.example.com",
|
||||
"port": "587",
|
||||
"username": "user",
|
||||
"password": "password"
|
||||
},
|
||||
"from": ""
|
||||
"from": "from@example.com"
|
||||
},
|
||||
"mail": {
|
||||
"to": "",
|
||||
"subject": "",
|
||||
"body": ""
|
||||
"pdf": {
|
||||
"hostname": "http://localhost:3030"
|
||||
},
|
||||
"mail_bcc": [""]
|
||||
"gitea": {
|
||||
"url": "https://gitea.example.com",
|
||||
"token": "your-gitea-token"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user