@fleetbridge/ui 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server.js +3 -1
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -921,7 +921,9 @@ var Tenant = class {
|
|
|
921
921
|
const row = {
|
|
922
922
|
id,
|
|
923
923
|
token,
|
|
924
|
-
|
|
924
|
+
// The column may not be empty (null). A site that signs in with its own
|
|
925
|
+
// secret has no API key, so it is saved as an empty text instead.
|
|
926
|
+
apiKey: truncate(quote.apiKey) ?? "",
|
|
925
927
|
customerId: quote.customerId ?? null,
|
|
926
928
|
supplierId: truncate(quote.supplierId),
|
|
927
929
|
supplierIdentifier: truncate(quote.supplierIdentifier),
|