diff options
Diffstat (limited to 'api4/post.go')
-rw-r--r-- | api4/post.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/post.go b/api4/post.go index f16a1ba3d..67cd325d9 100644 --- a/api4/post.go +++ b/api4/post.go @@ -48,7 +48,7 @@ func createPost(c *Context, w http.ResponseWriter, r *http.Request) { post.CreateAt = 0 } - rp, err := app.CreatePostAsUser(post, c.GetSiteURL()) + rp, err := app.CreatePostAsUser(post) if err != nil { c.Err = err return |