summaryrefslogtreecommitdiff
path: root/system/api/external.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-31 00:37:25 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-31 00:37:25 -0700
commitf26549a2ddf1d9a3c5c4bfaf654b05d3861dbb7f (patch)
treebcb39deb7fb20209f8dba4a3395c03567e415400 /system/api/external.go
parent7d1b2aca0b1aa64ca726ab92e017ba91779e8797 (diff)
initial code to support approving pending content
Diffstat (limited to 'system/api/external.go')
-rw-r--r--system/api/external.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/external.go b/system/api/external.go
index 4d52f48..4a42eb5 100644
--- a/system/api/external.go
+++ b/system/api/external.go
@@ -24,7 +24,7 @@ type Externalable interface {
type Mergeable interface {
// Approve copies an external post to the internal collection and triggers
// a re-sort of its content type posts
- Approve() error
+ Approve(req *http.Request) error
}
func externalPostsHandler(res http.ResponseWriter, req *http.Request) {