submissions: update openapi
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Quaternions 2024-12-17 20:51:34 -08:00
parent 1d3e553390
commit b238e4c21d
2 changed files with 4 additions and 4 deletions

View File

@ -62,8 +62,8 @@ func (svc *Service) ListScriptPolicy(ctx context.Context, request *api.ListScrip
} }
items, err := svc.DB.ScriptPolicy().List(ctx, filter, model.Page{ items, err := svc.DB.ScriptPolicy().List(ctx, filter, model.Page{
Number: request.Page.GetPage(), Number: request.Page.Number,
Size: request.Page.GetLimit(), Size: request.Page.Size,
}) })
if err != nil { if err != nil {
return nil, err return nil, err

View File

@ -77,8 +77,8 @@ func (svc *Service) ListSubmissions(ctx context.Context, request *api.ListSubmis
} }
items, err := svc.DB.Submissions().List(ctx, filter, model.Page{ items, err := svc.DB.Submissions().List(ctx, filter, model.Page{
Number: request.Page.GetPage(), Number: request.Page.Number,
Size: request.Page.GetLimit(), Size: request.Page.Size,
}) })
if err != nil { if err != nil {
return nil, err return nil, err