now using subroutines
This commit is contained in:
parent
15ee54553c
commit
690201433d
@ -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)
|
||||
|
Reference in New Issue
Block a user