Skip to content

Commit

Permalink
Fix documentation test
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Jan 13, 2025
1 parent 21b140d commit 7ded602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/lib/snippets/log_interceptor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'dart:io';
import 'package:drift/drift.dart';
import 'package:drift/native.dart';

import 'setup/database.dart';
import 'dart_api/manager.dart';

// #docregion class
class LogInterceptor extends QueryInterceptor {
Expand Down Expand Up @@ -94,7 +94,7 @@ void use() {
}

void useScoped() async {
final database = AppDatabase();
final database = AppDatabase(NativeDatabase.memory());

// #docregion runWithInterceptor
final interceptor = LogInterceptor();
Expand Down

0 comments on commit 7ded602

Please sign in to comment.