Skip to content

Commit

Permalink
rename private method in MapeoManager
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Jan 24, 2024
1 parent 3aafbc0 commit 29727df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mapeo-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export class MapeoManager extends TypedEmitter {
* @param {'blobs' | 'icons' | 'maps'} mediaType
* @returns {Promise<string>}
*/
async #getMediaAddress(mediaType) {
async #getMediaBaseUrl(mediaType) {
/** @type {string | null} */
let prefix = null

Expand Down Expand Up @@ -447,7 +447,7 @@ export class MapeoManager extends TypedEmitter {
sharedIndexWriter: this.#projectSettingsIndexWriter,
localPeers: this.#localPeers,
logger: this.#loggerBase,
getMediaBaseUrl: this.#getMediaAddress.bind(this),
getMediaBaseUrl: this.#getMediaBaseUrl.bind(this),
})
}

Expand Down

0 comments on commit 29727df

Please sign in to comment.