Skip to content

Commit f6dd2be

Browse files
committed
Name updates
1 parent a6a9ae1 commit f6dd2be

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

main.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ export default class ObsidibaggerPlugin extends Plugin {
7272
async authenticate(): Promise<void> {
7373
const { instanceUrl, clientId, clientSecret, username, password } = this.settings;
7474
if (!instanceUrl || !clientId || !clientSecret || !username || !password) {
75-
new Notice('Obsidibagger: Please fill in all Wallabag credentials in the settings.');
75+
new Notice('Please fill in all Wallabag credentials in the settings.');
7676
throw new Error('Missing credentials');
7777
}
78-
new Notice('Obsidibagger: Authenticating with Wallabag...');
78+
new Notice('Authenticating with Wallabag...');
7979
const url = `${instanceUrl}/oauth/v2/token`;
8080
const body = new URLSearchParams({
8181
grant_type: 'password',
@@ -90,7 +90,7 @@ export default class ObsidibaggerPlugin extends Plugin {
9090
body
9191
});
9292
if (!resp.ok) {
93-
new Notice('Obsidibagger: Failed to authenticate with Wallabag.');
93+
new Notice('Failed to authenticate with Wallabag.');
9494
throw new Error(await resp.text());
9595
}
9696
const data = await resp.json();
@@ -117,10 +117,10 @@ export default class ObsidibaggerPlugin extends Plugin {
117117
for (const article of articles) {
118118
await this.createOrUpdateArticleNote(article, folderPath);
119119
}
120-
new Notice(`Obsidibagger: Synced ${articles.length} Wallabag articles.`);
120+
new Notice(`Synced ${articles.length} Wallabag articles.`);
121121
} catch (e) {
122122
console.error(e);
123-
new Notice('Obsidibagger: Sync failed. See console for details.');
123+
new Notice('Sync failed. See console for details.');
124124
}
125125
}
126126

@@ -132,7 +132,7 @@ export default class ObsidibaggerPlugin extends Plugin {
132132
let hasMore = true;
133133
const newSince = Date.now() / 1000;
134134

135-
new Notice('Obsidibagger: Fetching Wallabag articles...');
135+
new Notice('Fetching Wallabag articles...');
136136
while (hasMore) {
137137
let wbURL = `${instanceUrl}/api/entries.json?since=${since}&page=${page}&perPage=30`
138138
if (this.settings.onlyStarred) { wbURL += '&starred=1'; }

0 commit comments

Comments
 (0)