We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfe1134 commit 894e655Copy full SHA for 894e655
src/database/timer-database.ts
@@ -184,7 +184,7 @@ class TimeDatabase {
184
*
185
* @param param condition
186
*/
187
- public async select(param?: QueryParam): Promise<SiteInfo[]> {
+ async select(param?: QueryParam): Promise<SiteInfo[]> {
188
log("select:{param}", param)
189
param = param || new QueryParam()
190
const items = await this.refresh()
src/database/whitelist-database.ts
@@ -12,7 +12,7 @@ class WhitelistDatabase {
12
return new Promise(resolve => this.localStorage.set(obj, resolve))
13
}
14
15
- public selectAll(): Promise<string[]> {
+ selectAll(): Promise<string[]> {
16
return new Promise(resolve => this.localStorage.get(items => resolve(items[WHITELIST_KEY] || [])))
17
18
0 commit comments