mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-05-13 21:14:16 +00:00
chore: go fix
This commit is contained in:
@@ -61,12 +61,12 @@ func (sj *ScriptJS) Process(ctx context.Context, wrappedPayload common.WrappedPa
|
||||
outputObject, ok := output.(*quickjs.Object)
|
||||
|
||||
if ok {
|
||||
var outputSlice []interface{}
|
||||
var outputSlice []any
|
||||
|
||||
err = outputObject.Into(&outputSlice)
|
||||
|
||||
if err != nil {
|
||||
var outputMap map[string]interface{}
|
||||
var outputMap map[string]any
|
||||
err = outputObject.Into(&outputMap)
|
||||
if err != nil {
|
||||
wrappedPayload.End = true
|
||||
|
||||
Reference in New Issue
Block a user