submissions: update openapi
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1d3e553390
commit
b238e4c21d
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user