Skip to content

Commit

Permalink
chore: remove leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
sandros94 committed May 31, 2024
1 parent bf7ab64 commit 32efb65
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/runtime/composables/surreal-db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export function useSurrealDB(overrides?: Overrides) {
const { data, immediate, key, watch, ...opts } = options || {}

const params = computed<RpcRequest<T, 'create'>['params']>(() => ([toValue(thing), toValue(data)]))
console.log('params', params.value)
const _key = key ?? 'Sur_' + hash(['surreal', 'create', toValue(params)])

return useSurrealRPC<T>({ method: 'create', params }, {
Expand Down

0 comments on commit 32efb65

Please sign in to comment.