mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Rename resourceExists to hasResource
The function was also moved to the smaller interface ResourceSet.
This commit is contained in:
@@ -42,7 +42,7 @@ export class JsonResourceStorage implements KeyValueStorage<string, unknown> {
|
||||
|
||||
public async has(key: string): Promise<boolean> {
|
||||
const identifier = this.createIdentifier(key);
|
||||
return await this.source.resourceExists(identifier);
|
||||
return await this.source.hasResource(identifier);
|
||||
}
|
||||
|
||||
public async set(key: string, value: unknown): Promise<this> {
|
||||
|
||||
Reference in New Issue
Block a user