File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
convex-core/src/main/cvx/app/paisley
convex-java/src/main/java/convex/java Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
'app.paisley.members
2
+ ;; This actor implements Paisley membership as a soulbound token
3
+ ;;
2
4
;; Deploy with something like:
3
5
;; (deploy
4
6
;; '[(set-controller <governance-controller>
49
51
50
52
(defn update-member
51
53
^{:callable true
52
- :doc {:description "Updates a new member account. Must be caller by operator, providing member Convex account. Returns updated metadata."
54
+ :doc {:description "Updates a new member account. Must be called by operator, providing member Convex account. Returns updated metadata."
53
55
:signature [{:params [id data]}]}}
54
56
([id data]
55
57
(or (trust/trusted? operator *caller*) (fail :TRUST "Not a membership operator"))
Original file line number Diff line number Diff line change @@ -28,14 +28,17 @@ public URI getHost() {
28
28
return host ;
29
29
}
30
30
31
+ /**
32
+ * Gets the base URI for the target server, e.g. "https://foo.com/api/v1/"
33
+ * @return URI
34
+ */
31
35
public URI getBaseURI () {
32
36
return baseURI ;
33
37
}
34
38
35
39
/**
36
40
* Makes a HTTP request as a CompletableFuture
37
41
* @param request Request object
38
- * @param body Body of request (as String, should normally be valid JSON)
39
42
* @return Future to be filled with JSON response.
40
43
*/
41
44
protected CompletableFuture <Result > doRequest (SimpleHttpRequest request ) {
You can’t perform that action at this time.
0 commit comments