Compare commits

...

2 commits

Author SHA1 Message Date
Korbs
1cdd758604 No row should be uniqued for subscription 2024-07-17 19:50:11 -04:00
Korbs
dfd5de48d2 Fix link to API 2024-07-17 19:49:55 -04:00
2 changed files with 5 additions and 4 deletions

View file

@ -60,11 +60,12 @@ For the `channels` portion, you can import the premade CSV file made for this pr
For the `subs` portion, enter the following in the SQL Editor and click Run:
```sql
create table
public.usersubslist (
public.subs (
"Id" text not null,
"UserSubscribed" text null,
"UserSubscribed" text not null,
"Platform" text null,
"Subscribed" boolean not null default false
constraint subs_pkey primary key ("Id", "UserSubscribed"),
constraint subs_UserSubscribed_key unique ("UserSubscribed")
) tablespace pg_default;
```

View file

@ -50,7 +50,7 @@ console.log(subs)
)}
<hr/>
{subs.map((data) =>
<p><a href={'/creator/' + data.Id}>{data.Id}</a> | <a href={'/api/account/remove?=' + data.Id}>Unsubscribe</a></p>
<p><a href={'/creator/' + data.Id}>{data.Id}</a> | <a href={'/api/account/subscription/remove?=' + data.Id}>Unsubscribe</a></p>
)}
</Base>