Retourner transactions lors de leur insertion
Rendre disponible les id de transactions officiellement ajoutées lors d'un '201 Created' sur 'POST /v2/transactions http/1.1' dans le response body sous 'application/json: data.transactions'.
This commit is contained in:
parent
12d98cf302
commit
6f5b8733b6
3 changed files with 18 additions and 16 deletions
|
@ -19,7 +19,7 @@ type GetMembreResponse struct {
|
|||
}
|
||||
|
||||
type PostTransactionsResponseData struct {
|
||||
RowsInserted int64 `json:"rows_inserted"`
|
||||
Transactions []models.Transaction `json:"transactions"`
|
||||
}
|
||||
|
||||
type PostTransactionsResponse struct {
|
||||
|
|
Reference in a new issue