mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
@ -181,6 +181,9 @@ class Post extends events.EventTarget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static reverseSearch(content) {
|
static reverseSearch(content) {
|
||||||
|
if (!api.hasPrivilege("posts:reverseSearch")) {
|
||||||
|
return Promise.resolve();
|
||||||
|
}
|
||||||
let apiPromise = api.post(
|
let apiPromise = api.post(
|
||||||
uri.formatApiLink("posts", "reverse-search"),
|
uri.formatApiLink("posts", "reverse-search"),
|
||||||
{},
|
{},
|
||||||
|
Reference in New Issue
Block a user