Fixed some app sdk things, added images for missing triggers and re-added Wait For Response to Webhooks
This commit is contained in:
@@ -105,7 +105,7 @@ def base64_encode(a):
|
||||
def base64_decode(a):
|
||||
a = str(a)
|
||||
try:
|
||||
return base64.b64decode(a).encode("utf-8").decode("unicode_escape")
|
||||
return base64.b64decode(a).decode("unicode_escape")
|
||||
except:
|
||||
try:
|
||||
return base64.b64decode(a).decode()
|
||||
|
||||
@@ -19,7 +19,7 @@ require (
|
||||
github.com/gorilla/mux v1.8.0
|
||||
github.com/h2non/filetype v1.1.3
|
||||
github.com/satori/go.uuid v1.2.0
|
||||
github.com/shuffle/shuffle-shared v0.4.36
|
||||
github.com/shuffle/shuffle-shared v0.4.41
|
||||
golang.org/x/crypto v0.9.0
|
||||
google.golang.org/api v0.125.0
|
||||
google.golang.org/appengine v1.6.7
|
||||
|
||||
@@ -6001,7 +6001,7 @@ func initHandlers() {
|
||||
// New for recommendations in Shuffle
|
||||
r.HandleFunc("/api/v1/recommendations/get_actions", shuffle.HandleActionRecommendation).Methods("POST", "OPTIONS")
|
||||
r.HandleFunc("/api/v1/recommendations/modify", shuffle.HandleRecommendationAction).Methods("POST", "OPTIONS")
|
||||
// r.HandleFunc("/api/v1/workflows/{key}/revisions", shuffle.GetWorkflowRevisions).Methods("GET", "OPTIONS")
|
||||
r.HandleFunc("/api/v1/workflows/{key}/revisions", shuffle.GetWorkflowRevisions).Methods("GET", "OPTIONS")
|
||||
|
||||
// Triggers
|
||||
r.HandleFunc("/api/v1/hooks/new", shuffle.HandleNewHook).Methods("POST", "OPTIONS")
|
||||
|
||||
Reference in New Issue
Block a user