lambder 1.0.86 → 1.0.87
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/Readme.md +1 -1
- package/package.json +1 -1
package/Readme.md
CHANGED
|
@@ -191,7 +191,7 @@ lambder.addApi("getCompanyName", async (ctx, res) => {
|
|
|
191
191
|
// attempts to serve the fallback file.
|
|
192
192
|
// Returns a JSON error if neither file is found.
|
|
193
193
|
|
|
194
|
-
return res.api({ payload,
|
|
194
|
+
return res.api({ payload, notAuthorized, message, errorMessage }, headers);
|
|
195
195
|
// This function works together with the LambderCaller from the frontend.
|
|
196
196
|
// Sends a standardized API response including the payload and status
|
|
197
197
|
// flags like versionExpired, sessionExpired, notAuthorized, along with
|