From 88f4edbaf5eb6617cc152c1ea373e58814abed03 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Mon, 27 May 2024 14:59:28 +0700 Subject: [PATCH] fix: wtf context --- api/devices_exist.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/devices_exist.go b/api/devices_exist.go index bee8574..a78b575 100644 --- a/api/devices_exist.go +++ b/api/devices_exist.go @@ -1,9 +1,10 @@ package api import ( + "context" + "github.com/tigorlazuardi/redmage/models" "github.com/tigorlazuardi/redmage/pkg/errs" - "golang.org/x/net/context" ) func (api *API) DevicesExist(ctx context.Context, slug string) (exist bool, err error) {