mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
* Add gql client generation files * Update dependencies * Add stash-box client generation to the makefile * Move scraped scene object matchers to models * Add stash-box to scrape with dropdown * Add scrape scene from fingerprint in UI
16 lines
221 B
Go
16 lines
221 B
Go
package graphql
|
|
|
|
import "context"
|
|
|
|
func OneShot(resp *Response) ResponseHandler {
|
|
var oneshot bool
|
|
|
|
return func(context context.Context) *Response {
|
|
if oneshot {
|
|
return nil
|
|
}
|
|
oneshot = true
|
|
|
|
return resp
|
|
}
|
|
}
|