We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b4c969 commit 186cb12Copy full SHA for 186cb12
src/utils/db.js
@@ -229,7 +229,7 @@ async function insertLens(lenses) {
229
230
for (const lens of lenses) {
231
// check required fields
232
- if (!lens || !lens.unlockable_id || !lens.lens_name || !lens.user_display_name) {
+ if (!lens || !lens.unlockable_id || !lens.lens_name) {
233
console.error(`[Error] Invalid argument, expected lens object:`, lens);
234
return;
235
}
@@ -240,6 +240,7 @@ async function insertLens(lenses) {
240
let args = buildArgs(lens, whitelist, {
241
uuid: (!lens.uuid && lens.deeplink) ? Util.parseLensUuid(lens.deeplink) : '',
242
snapcode_url: "",
243
+ user_display_name: unlockable_id,
244
lens_tags: "",
245
lens_status: "Live",
246
deeplink: "",
0 commit comments