Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Intevel committed Apr 26, 2023
1 parent 42ce940 commit 21f542d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { resolve } from 'path'
import { fileURLToPath } from 'url'
import { defu } from 'defu'
import { defineNuxtModule, addPlugin, addImportsDir, isNuxt2 } from '@nuxt/kit'
import { DirectusQueryParams } from './runtime/types'
import { joinURL } from 'ufo'
import { DirectusQueryParams } from './runtime/types'

export interface ModuleOptions {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/composables/useDirectusItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const useDirectusItems = () => {
})

if (items.meta) {
return items;
return items
} else {
return items.data
}
Expand Down

0 comments on commit 21f542d

Please sign in to comment.