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