now using subroutines

This commit is contained in:
David Janowski 2023-05-24 23:11:31 +02:00
parent 15ee54553c
commit 690201433d

View File

@ -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)