Lint
This commit is contained in:
parent
d259bdbf7b
commit
b3ff417844
|
@ -121,7 +121,7 @@ export async function processOutputBBReference(
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (subtype) {
|
switch (subtype) {
|
||||||
case BBReferenceFieldSubType.USER:
|
case BBReferenceFieldSubType.USER: {
|
||||||
let user
|
let user
|
||||||
try {
|
try {
|
||||||
user = await cache.user.getUser(value as string)
|
user = await cache.user.getUser(value as string)
|
||||||
|
@ -141,6 +141,7 @@ export async function processOutputBBReference(
|
||||||
firstName: user.firstName,
|
firstName: user.firstName,
|
||||||
lastName: user.lastName,
|
lastName: user.lastName,
|
||||||
}
|
}
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
throw utils.unreachable(subtype)
|
throw utils.unreachable(subtype)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import _ from "lodash"
|
import _ from "lodash"
|
||||||
import * as backendCore from "@budibase/backend-core"
|
import * as backendCore from "@budibase/backend-core"
|
||||||
import { BBReferenceFieldSubType, FieldType, User } from "@budibase/types"
|
import { BBReferenceFieldSubType, User } from "@budibase/types"
|
||||||
import {
|
import {
|
||||||
processInputBBReference,
|
processInputBBReference,
|
||||||
processInputBBReferences,
|
processInputBBReferences,
|
||||||
|
|
Loading…
Reference in New Issue