🔥 Remove references to mock data

This commit is contained in:
Marcell Fülöp
2022-06-19 16:20:16 +00:00
parent 4b930939c7
commit db0fc0454d
6 changed files with 0 additions and 15 deletions

View File

@@ -38,7 +38,6 @@
<script>
import WidgetMixin from '@/mixins/WidgetMixin';
import NextcloudMixin from '@/mixins/NextcloudMixin';
// //import { NcdStatusAll, NcdStatusSingle } from '@/utils/ncd';
// Nextcloud User Status API supports getting all user statuses at once
// or a single user's status. {fetchStrategy} determines which of these methods to use.
@@ -96,7 +95,6 @@ export default {
}
if (this.fetchStrategy === fetchStrategies.allAtOnce) {
this.makeRequest(this.endpoint('userstatus'), this.headers)
// //Promise.resolve(NcdStatusAll)
.then(this.processStatuses)
.finally(this.finishLoading);
} else {
@@ -105,7 +103,6 @@ export default {
this.users.forEach((user) => {
promises.push(
this.makeRequest(`${this.endpoint('userstatus')}/${user}`, this.headers)
// //Promise.resolve(NcdStatusSingle)
.then(this.processStatus),
);
});