mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Compare commits
2 Commits
2416a8f4d5
...
749a79f5a6
Author | SHA1 | Date | |
---|---|---|---|
749a79f5a6 | |||
c8c06dac3a |
@ -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