aboutsummaryrefslogtreecommitdiff
path: root/core/raw
diff options
context:
space:
mode:
Diffstat (limited to 'core/raw')
-rw-r--r--core/raw/api.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/raw/api.ts b/core/raw/api.ts
index 76cdb5b..47e9075 100644
--- a/core/raw/api.ts
+++ b/core/raw/api.ts
@@ -33,7 +33,11 @@ export default class RawCore implements Core {
},
};
- public user: CoreUser = {};
+ public user: CoreUser = {
+ termPriority: async (uid, expression, reading, priority) => {
+ this._db.termPriority(uid, expression, reading, priority);
+ },
+ };
public import: CoreImport = {};