Browse Source

En cours de développement

master
losyme 3 months ago
parent
commit
d3c6898649
  1. 2
      internal/api/jobs.go
  2. 3
      internal/application/model.go

2
internal/api/jobs.go

@ -20,7 +20,7 @@ import (
func (api *api) createJob(c *context.Context) error {
job := new(jw.Job)
if err := decode.JSON(c, 1024*4, job); err != nil {
if err := decode.JSON(c, 1024*32, job); err != nil {
return err
}

3
internal/application/model.go

@ -14,7 +14,7 @@ import (
func (app *Application) model() error {
cs := app.components
logger, err := cs.Logger.New(uuid.New(), "model", cs.Logger.Level())
logger, err := cs.Logger.NewComponent(uuid.New(), "model")
if err != nil {
return err
}
@ -23,7 +23,6 @@ func (app *Application) model() error {
Logger: logger,
Storage: cs.Storage,
})
if err != nil {
return err
}

Loading…
Cancel
Save