diff --git a/db/db.go b/db/db.go index a343925c..a88515d5 100644 --- a/db/db.go +++ b/db/db.go @@ -211,7 +211,7 @@ func Process(fib *fibre.Context, ast *sql.Query, vars map[string]interface{}) (o // to the context so that we can retrieve // the variables from within any queries. - keep := fib.Get(varKeyKeep).(*data.Doc) + keep := fib.Get(varKeyKeep) ctx = context.WithValue(ctx, ctxKeyKeep, keep) // Assign the authentication data to the