From 2c38b9e673dac2a795d9885b709ec424504120dd Mon Sep 17 00:00:00 2001 From: frank Date: Tue, 31 Jan 2023 16:47:30 +0800 Subject: [PATCH] reorder pair action by the order of occurrence (#3082) --- server/pairing/events.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/pairing/events.go b/server/pairing/events.go index 7e3eb6244..39a969c1e 100644 --- a/server/pairing/events.go +++ b/server/pairing/events.go @@ -27,7 +27,7 @@ type Event struct { type Action int const ( - ActionPairingAccount = iota + 1 + ActionConnect = iota + 1 + ActionPairingAccount ActionSyncDevice - ActionConnect )