fix: wtf context

This commit is contained in:
Tigor Hutasuhut 2024-05-27 14:59:28 +07:00
parent 36c8b2bc1d
commit 88f4edbaf5

View file

@ -1,9 +1,10 @@
package api package api
import ( import (
"context"
"github.com/tigorlazuardi/redmage/models" "github.com/tigorlazuardi/redmage/models"
"github.com/tigorlazuardi/redmage/pkg/errs" "github.com/tigorlazuardi/redmage/pkg/errs"
"golang.org/x/net/context"
) )
func (api *API) DevicesExist(ctx context.Context, slug string) (exist bool, err error) { func (api *API) DevicesExist(ctx context.Context, slug string) (exist bool, err error) {