(pathString: string)
| 333 | throw new ValidationError(`Photo not found: ${name}`); |
| 334 | } |
| 335 | |
| 336 | private async getPhotoNodeByPath(pathString: string): Promise<NodeEntity> { |
| 337 | if (isNodeUid(pathString)) { |
| 338 | return this.photosSdk.getNode(pathString); |
| 339 | } |
| 340 | return this.getPhotoByName(pathString); |
| 341 | } |
| 342 | |
| 343 | private async getPhotoByName(name: string): Promise<NodeEntity> { |
no test coverage detected