@budibase/server 2.7.7-alpha.0 → 2.7.7-alpha.2

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/dist/query.js CHANGED
@@ -838,6 +838,7 @@ var init_automation2 = __esm({
838
838
  AutomationIOType2["NUMBER"] = "number";
839
839
  AutomationIOType2["ARRAY"] = "array";
840
840
  AutomationIOType2["JSON"] = "json";
841
+ AutomationIOType2["DATE"] = "date";
841
842
  return AutomationIOType2;
842
843
  })(AutomationIOType || {});
843
844
  AutomationCustomIOType = /* @__PURE__ */ ((AutomationCustomIOType2) => {
@@ -11507,8 +11508,8 @@ async function postAuth(passport2, ctx, next) {
11507
11508
  { successRedirect: "/", failureRedirect: "/error" },
11508
11509
  async (err, tokens) => {
11509
11510
  const baseUrl = `/builder/app/${authStateCookie.appId}/data`;
11510
- const id = utils_exports2.newid();
11511
- await cache_exports.store(
11511
+ const id = newid();
11512
+ await store(
11512
11513
  `datasource:creation:${authStateCookie.appId}:google:${id}`,
11513
11514
  {
11514
11515
  tokens