Skip to content
Prev Previous commit
Next Next commit
Fix lint errors
Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
artonge committed Feb 15, 2024
commit 3e0a2d3fb62744c1d1c083116a66f9651211f4a3
3 changes: 2 additions & 1 deletion src/services/PhotoSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { allMimes } from './AllowedMimes.js'
import client from './DavClient.js'
import { props } from './DavRequest.js'
import moment from '@nextcloud/moment'
import store from '../store/index.js'

/**
* List files from a folder and filter out unwanted mimes
Expand All @@ -40,7 +41,7 @@ import moment from '@nextcloud/moment'
* @param {boolean} [options.onlyFavorites=false] get only favorite items
* @return {Promise<object[]>} the file list
*/
export default async function (options = {}) {
export default async function(options = {}) {
// default function options
options = {
firstResult: 0,
Expand Down
4 changes: 2 additions & 2 deletions src/store/userConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
*/

import { Folder, davGetClient, davGetDefaultPropfind, davResultToNode, davRootPath } from '@nextcloud/files'
import { davGetClient, davGetDefaultPropfind, davResultToNode, davRootPath } from '@nextcloud/files'
import { loadState } from '@nextcloud/initial-state'
import { joinPaths } from '@nextcloud/paths'
import { showError } from '@nextcloud/dialogs'
Expand Down Expand Up @@ -60,7 +60,7 @@ export async function getFolder(path) {
* @property {boolean} croppedLayout
* @property {string} photosSourceFolder
* @property {string} photosLocation
* @property {Folder} [photosLocationFolder]
* @property {import('@nextcloud/files').Folder} [photosLocationFolder]
*/

/** @type {import('vuex').Module<UserConfigState, object>} */
Expand Down