store/cockpitApi: add list snapshot mutation

This is not ideal, but we needed to add an empty endpoint for
this, even though we're ignoring it on prem. The frontend for
the service makes the api call regardless, so we can't ignore
this.
This commit is contained in:
Gianluca Zuccarelli 2025-01-27 17:51:32 +00:00 committed by Sanne Raymaekers
parent a3529f9108
commit c104f30cd2
3 changed files with 24 additions and 1 deletions

View file

@ -35,7 +35,7 @@ import {
targetOptions,
UNIT_GIB,
} from '../../../../constants';
import { useListSnapshotsByDateMutation } from '../../../../store/contentSourcesApi';
import { useListSnapshotsByDateMutation } from '../../../../store/backendApi';
import { useAppSelector } from '../../../../store/hooks';
import { useGetSourceListQuery } from '../../../../store/provisioningApi';
import { useShowActivationKeyQuery } from '../../../../store/rhsmApi';