Files
sendico/api/edge/bff/internal/mutil/param/ref.go
2026-02-28 00:39:20 +01:00

12 lines
188 B
Go

package mutil
import (
"net/http"
"go.mongodb.org/mongo-driver/v2/bson"
)
func GetAccountRef(r *http.Request) (bson.ObjectID, error) {
return bson.ObjectIDFromHex(GetAccountID(r))
}