summaryrefslogtreecommitdiff
path: root/app/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/api.go')
-rwxr-xr-xapp/api.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/api.go b/app/api.go
index d2a5655..cd574b8 100755
--- a/app/api.go
+++ b/app/api.go
@@ -5,7 +5,7 @@ import (
"math/rand"
"strings"
- "git.macaw.me/skunky/devianter"
+ "github.com/zerolabsco/devianter"
)
type API struct {
@@ -63,7 +63,7 @@ func (a API) Random() {
a.Error("Sorry, butt NSFW on this are disabled, and the instance failed to find a random art without NSFW", 500)
}
- s, err, daErr := devianter.PerformSearch(string(rand.Intn(999)), rand.Intn(30), 'a')
+ s, daErr, err := devianter.PerformSearch(string(rand.Intn(999)), rand.Intn(30), 'a')
try(err)
if daErr.RAW != nil {
continue