Update Lua to event.listEvents to match plugos syscall (#1397)
The documentation, example, and other function names use `event.listEvents`, but `event.list` is being registered with the client.
This commit is contained in:
@@ -43,5 +43,5 @@ export function dispatchEvent(
|
||||
* @returns an array of event names
|
||||
*/
|
||||
export function listEvents(): Promise<string[]> {
|
||||
return syscall("event.list");
|
||||
return syscall("event.listEvents");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user