fix topic update integration test, topicGetByUrl now optionally applies defaults
[websub-hub] / src / db / base.js
index 36cca60328875280620395ae5a4578ebef3136ee..c5ea237c7e1f33c71abfd23f0e4b3136af507f9c 100644 (file)
@@ -550,8 +550,9 @@ class Database {
    * Get topic data, without content.
    * @param {*} dbCtx 
    * @param {String} topicUrl
+   * @param {Boolean} applyDefaults
    */
-  async topicGetByUrl(dbCtx, topicUrl) {
+  async topicGetByUrl(dbCtx, topicUrl, applyDefaults = true) {
     this._notImplemented('topicGetByUrl', arguments);
   }