silentworks
01/22/2022, 5:20 PMfanclubfm
01/22/2022, 5:44 PM${url}/auth/v1/admin/users/${uid}
with service key and it works.ziad
01/23/2022, 12:59 AMdohman
01/23/2022, 8:26 AMjs
verifyEntry: async function(item) {
const customersRequest = await supabase.from('customers').select('customer_email_address, license_active')
let index = this.items.indexOf(item);
this.items[index].isVerified = true;
if (customersRequest.error) throw customersRequest.error
for (const supabaseCustomer of customersRequest.data) {
if (supabaseCustomer.license_active == true) {
await this.sendEmailForm(item, supabaseCustomer.customer_email_address);
}
}
const approveEntry = await supabase
.from('submissions')
.update({ isVerified: true })
.eq('id', item.id)
if (approveEntry.error) throw approveEntry.error;
},
UI
html
<tr v-for="item in items" :key="item.id">
<td :class="item.isVerified == true ? 'bg-gray-500' : ''" v-for="entry in Object.values(item)" :key="entry">{{entry}}</td>
<td>
The issue I have is that, no matter which entry I 'approve', only the first one from the db changes to bg-gray-500 (and to isVerified == true). Once I do that, all other entries that I try to 'approve', nothing happens.Frus
01/23/2022, 10:28 AMpaxi
01/23/2022, 2:06 PMUnhandled Runtime Error
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
error on supabase.auth.signUp({})paxi
01/23/2022, 2:06 PMpaxi
01/23/2022, 2:07 PMPH4NTOMiki
01/23/2022, 4:44 PMgaryaustin
01/23/2022, 4:56 PMPH4NTOMiki
01/23/2022, 5:01 PMPH4NTOMiki
01/23/2022, 5:01 PMMattyfaz
01/24/2022, 3:02 AMSELECT SUM (amount) AS total
FROM payment
ziad
01/24/2022, 3:58 AMfanclubfm
01/24/2022, 6:51 PMSealion
01/24/2022, 8:34 PMEkky
01/24/2022, 8:44 PMSealion
01/24/2022, 8:49 PMsilentworks
01/24/2022, 8:49 PMSealion
01/24/2022, 8:49 PMsilentworks
01/24/2022, 8:49 PMSealion
01/24/2022, 8:49 PMmalaleche
01/25/2022, 10:03 AMflv
01/25/2022, 10:31 AMmalaleche
01/25/2022, 10:34 AMmalaleche
01/25/2022, 10:34 AMsilentworks
01/25/2022, 11:23 AMstelofo
01/25/2022, 3:14 PMstelofo
01/25/2022, 3:17 PM{
statusCode: "400", error: "Bad Request", message: "querystring should have required property 'token'" }