Commit 4cb3081998311d51ef0d5ad2596a49b90d3fb29b

Authored by Marko Tikvić
1 parent 66478e04fb
Exists in master and in 1 other branch v2

BuildPayload -> MakePayload

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
... ... @@ -93,8 +93,8 @@ func NewPayload(r *http.Request, table string) Payload {
93 93 return pload
94 94 }
95 95  
96   -// BuildPayload returs a payload for provided table with populated Data field.
97   -func BuildPayload(r *http.Request, table string, data interface{}) Payload {
  96 +// MakePayload returs a payload for provided table with populated Data field.
  97 +func MakePayload(r *http.Request, table string, data interface{}) Payload {
98 98 var pload Payload
99 99  
100 100 pload.Method = r.Method + " " + r.RequestURI
... ...