summaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-15 23:59:00 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-15 23:59:00 +0200
commit9da246e91e7143536973bd9cfd1f11f4a6578f3b (patch)
tree88a269dc1c7583729ec3cd9269f9a83b3da22b35 /model
parent3d507d36ea2c7955d98a16b85cb7bc02c8923caa (diff)
Protect timer operations with session
Diffstat (limited to 'model')
-rw-r--r--model/timer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/timer.go b/model/timer.go
index 2b58f11..1420be5 100644
--- a/model/timer.go
+++ b/model/timer.go
@@ -5,6 +5,7 @@ type Timer struct {
Name string
StartTime Time
EndTime Time
+ Owner UUID
}
func (self Timer) IsFinished() bool {