mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Removed trigger attribute
This commit is contained in:
1 parent
f810643512
commit
b3d10323df
12 files changed
+22
-54
No files matched your search
@@ -39,13 +39,12 @@ public class Functions extends Service {
|
||||
}
|
||||
|
||||
/// Create Function
|
||||
public Call create(String name, Object vars, String trigger, List events, String schedule, int timeout) {
|
||||
public Call create(String name, Object vars, List events, String schedule, int timeout) {
|
||||
final String path = "/functions";
|
||||
|
||||
final Map<String, Object> params = Map.ofEntries(
|
||||
entry("name", name),
|
||||
entry("vars", vars),
|
||||
entry("trigger", trigger),
|
||||
entry("events", events),
|
||||
entry("schedule", schedule),
|
||||
entry("timeout", timeout)
|
||||
@@ -77,13 +76,12 @@ public class Functions extends Service {
|
||||
}
|
||||
|
||||
/// Update Function
|
||||
public Call update(String functionId, String name, Object vars, String trigger, List events, String schedule, int timeout) {
|
||||
public Call update(String functionId, String name, Object vars, List events, String schedule, int timeout) {
|
||||
final String path = "/functions/{functionId}".replace("{functionId}", functionId);
|
||||
|
||||
final Map<String, Object> params = Map.ofEntries(
|
||||
entry("name", name),
|
||||
entry("vars", vars),
|
||||
entry("trigger", trigger),
|
||||
entry("events", events),
|
||||
entry("schedule", schedule),
|
||||
entry("timeout", timeout)
|
||||
|
||||
Reference in new issue
Block a user