fix(environment): update request identifiers for selected finder items and text

This commit is contained in:
ByteAtATime 2025-07-02 08:59:03 -07:00
parent 5c66ba34f1
commit 5f44461a45
No known key found for this signature in database

View file

@ -46,11 +46,11 @@ export const environment = {
}; };
export async function getSelectedFinderItems(): Promise<FileSystemItem[]> { export async function getSelectedFinderItems(): Promise<FileSystemItem[]> {
return sendRequest<FileSystemItem[]>('system-get-selected-finder-items'); return sendRequest<FileSystemItem[]>('get-selected-finder-items');
} }
export async function getSelectedText(): Promise<string> { export async function getSelectedText(): Promise<string> {
return sendRequest<string>('system-get-selected-text'); return sendRequest<string>('get-selected-text');
} }
export async function open(target: string, application?: Application | string): Promise<void> { export async function open(target: string, application?: Application | string): Promise<void> {