summaryrefslogtreecommitdiff
path: root/internal/processing/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/app.go')
-rw-r--r--internal/processing/app.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/processing/app.go b/internal/processing/app.go
index f2a938b22..e4cda5a43 100644
--- a/internal/processing/app.go
+++ b/internal/processing/app.go
@@ -62,7 +62,7 @@ func (p *Processor) AppCreate(ctx context.Context, authed *oauth.Auth, form *api
}
// chuck it in the db
- if err := p.db.Put(ctx, app); err != nil {
+ if err := p.state.DB.Put(ctx, app); err != nil {
return nil, gtserror.NewErrorInternalError(err)
}
@@ -76,7 +76,7 @@ func (p *Processor) AppCreate(ctx context.Context, authed *oauth.Auth, form *api
}
// chuck it in the db
- if err := p.db.Put(ctx, oc); err != nil {
+ if err := p.state.DB.Put(ctx, oc); err != nil {
return nil, gtserror.NewErrorInternalError(err)
}