From 9feb0fb94136ee70e65fabd1a47a11488c50ce15 Mon Sep 17 00:00:00 2001 From: skye Date: Fri, 28 Apr 2023 20:08:15 +0300 Subject: [PATCH] feat(api): add a seed field to actions --- api/models/action.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/models/action.go b/api/models/action.go index 697a93f..75a924a 100644 --- a/api/models/action.go +++ b/api/models/action.go @@ -24,6 +24,7 @@ type Action struct { Invoker string `json:"invoker"` Target string `json:"target"` Command datatypes.JSON `json:"command"` + Seed uint64 `json:"seed"` } type PostAction struct { @@ -31,4 +32,5 @@ type PostAction struct { Invoker string `json:"invoker"` Target string `json:"target"` Command string `json:"command"` + Seed uint64 `json:"seed"` } -- 2.44.1