Compare commits

..

1 Commits

Author SHA1 Message Date
e9f79241f1
submissions: maps endpoints 2025-04-01 16:52:55 -07:00

@ -56,11 +56,6 @@ func (svc *Service) ListMaps(ctx context.Context, params api.ListMapsParams) ([]
//
// GET /maps/{MapID}
func (svc *Service) GetMap(ctx context.Context, params api.GetMapParams) (*api.Map, error) {
_, ok := ctx.Value("UserInfo").(UserInfoHandle)
if !ok {
return nil, ErrUserInfo
}
mapResponse, err := svc.Client.Get(ctx, &maps.IdMessage{
ID: params.MapID,
})