@@ -75,7 +75,7 @@ var (
|
||||
)
|
||||
|
||||
func methodNotAllowed(w http.ResponseWriter, r *http.Request) {
|
||||
defer r.Body.Close()
|
||||
defer func() { _ = r.Body.Close() }()
|
||||
|
||||
httpserver.RenderJSON(
|
||||
w,
|
||||
@@ -87,7 +87,7 @@ func methodNotAllowed(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
func notFound(w http.ResponseWriter, r *http.Request) {
|
||||
defer r.Body.Close()
|
||||
defer func() { _ = r.Body.Close() }()
|
||||
|
||||
httpserver.RenderJSON(
|
||||
w,
|
||||
|
||||
@@ -35,8 +35,8 @@ type Datum struct {
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
}
|
||||
|
||||
func (Datum) IsNode() {}
|
||||
func (this Datum) GetID() gid.GID { return this.ID }
|
||||
func (Datum) IsNode() {}
|
||||
func (d Datum) GetID() gid.GID { return d.ID }
|
||||
|
||||
type (
|
||||
DatumOrderBy OrderBy[coredata.DatumOrderField]
|
||||
|
||||
@@ -44,8 +44,8 @@ type (
|
||||
}
|
||||
)
|
||||
|
||||
func (SignableDocument) IsNode() {}
|
||||
func (this SignableDocument) GetID() gid.GID { return this.ID }
|
||||
func (SignableDocument) IsNode() {}
|
||||
func (d SignableDocument) GetID() gid.GID { return d.ID }
|
||||
|
||||
func NewSignableDocumentConnection(
|
||||
p *page.Page[*SignableDocument, coredata.DocumentOrderField],
|
||||
|
||||
@@ -2612,7 +2612,7 @@ func (r *mutationResolver) ExportFramework(ctx context.Context, input types.Expo
|
||||
prb := r.ProboService(ctx, input.FrameworkID.TenantID())
|
||||
identity := authn.IdentityFromContext(ctx)
|
||||
|
||||
exportErr, exportJobID := prb.Frameworks.RequestExport(
|
||||
exportJob, exportErr := prb.Frameworks.RequestExport(
|
||||
ctx,
|
||||
input.FrameworkID,
|
||||
identity.EmailAddress,
|
||||
@@ -2624,7 +2624,7 @@ func (r *mutationResolver) ExportFramework(ctx context.Context, input types.Expo
|
||||
}
|
||||
|
||||
return &types.ExportFrameworkPayload{
|
||||
ExportJobID: exportJobID.ID,
|
||||
ExportJobID: exportJob.ID,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user