fix(workshop): resolve remaining review feedback
This commit is contained in:
1 parent
b0429f9287
commit
f1e4866a8b
10 files changed
+67
-32
No files matched your search
@@ -6,8 +6,8 @@ migrate(
|
||||
|
||||
const githubClientId = $os.getenv("GITHUB_CLIENT_ID");
|
||||
const githubClientSecret = $os.getenv("GITHUB_CLIENT_SECRET");
|
||||
users.oauth2.enabled = true;
|
||||
if (githubClientId && githubClientSecret) {
|
||||
users.oauth2.enabled = true;
|
||||
users.oauth2.providers = [
|
||||
{
|
||||
name: "github",
|
||||
@@ -123,6 +123,7 @@ migrate(
|
||||
{ name: "updated", type: "autodate", onCreate: true, onUpdate: true },
|
||||
],
|
||||
});
|
||||
comments.addIndex("idx_comments_submission", false, "submission", "");
|
||||
app.save(comments);
|
||||
},
|
||||
(app) => {
|
||||
|
||||
Reference in new issue
Block a user