From 690201433d325a33850f1e20f28b5b6c7c163ee8 Mon Sep 17 00:00:00 2001 From: David Janowski Date: Wed, 24 May 2023 23:11:31 +0200 Subject: [PATCH] now using subroutines --- api/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/user.go b/api/user.go index b650c58..fa6be9f 100644 --- a/api/user.go +++ b/api/user.go @@ -26,7 +26,7 @@ func UserHandler(ctx context.Context, driver neo4j.DriverWithContext, e621Client } // Perform further processing with the username - services.ScrapeUser(ctx, driver, *e621Client, username) + go services.ScrapeUser(ctx, driver, *e621Client, username) // Send a response w.WriteHeader(http.StatusOK)